OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr27799.c] - Blame information for rev 816

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-O2" } */
3
 
4
struct X { double m; int x; };
5
struct Y { int y; short d; };
6
struct YY { int y; short d; char c; };
7
 
8
extern void link_error (void);
9
 
10
int foo(struct X *x,  struct Y *y)
11
{
12
  x->x =  0;
13
  y->y =  1;
14
  if (x->x != 0)
15
    link_error ();
16
}
17
 
18
int foo_no(struct X *x,  struct YY *y)
19
{
20
  x->x =  0;
21
  y->y =  1;
22
  if (x->x != 0)
23
    link_error ();
24
}
25
 
26
int main() {}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.