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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040303-2.c] - Rev 774

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

void abort(void);
int x, y;
void init_xy(void);
void
test4(void)
{
  init_xy();
  _Bool iftemp0;
  int x1 = x;
  _Bool iftemp1;
  x1++;
  if (x1 != 3)
    {
      iftemp1 = 1;
      goto endfirstif;
    }
  iftemp1 = 0;
  endfirstif:
  iftemp0 = iftemp1;
  if (iftemp0)
    abort();
}
 
 

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.