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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr38819.c] - Rev 297

Compare with Previous | Blame | View Log

extern void exit (int);
extern void abort (void);
 
volatile int a = 1;
volatile int b = 0;
volatile int x = 2;
volatile signed int r = 8;
 
void __attribute__((noinline))
foo (void)
{
  exit (0);
}
 
int
main (void)
{
  int si1 = a;
  int si2 = b;
  int i;
 
  for (i = 0; i < 100; ++i) {
      foo ();
      if (x == 8)
	i++;
      r += i + si1 % si2;
  }
  abort ();
}
 

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.