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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr38564.c] - Rev 859

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

struct S
{
  struct S *n, *p;
} *s;
 
void bar (void *);
 
int
foo (int x)
{
  struct S p = { &p, &p };
  int i;
  for (i = 0; i < x; i++)
    bar (s);
  return p.n == &p;
}
 
int dialog_calendar(int state)
{
  int *obj = (state == 1 ? &state : 0);
  return (obj == &state);
}
 

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

powered by: WebSVN 2.1.0

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