URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20010426-1.c] - Rev 856
Go to most recent revision | Compare with Previous | Blame | View Log
struct { char *m; long n; } a[20]; int b = 20, c; void bar(void) __attribute__((__noreturn__)); int foo(int x) { int i; for (i = 0; i < x; i++) { a[0].m = "a"; a[0].n = 10; c=1; a[c].m = "b"; a[c].n = 32; c++; if (c >= b) bar (); a[c].m = "c"; a[c].n = 80; c++; if (c >= b) bar (); } return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log