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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20060823-1.c] - Blame information for rev 745

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR middle-end/28683 */
2
 
3
extern void foo (int *);
4
 
5
struct A
6
{
7
  int f;
8
};
9
 
10
struct A *
11
test (struct A *r)
12
{
13
  int *f = &r->f;
14
  static int i = 0;
15
  if (!i && !((void *) f == (void *) r))
16
    foo (&i);
17
  return r;
18
}

powered by: WebSVN 2.1.0

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