URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr33434-3.c] - Rev 329
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/33434 */ /* { dg-do run } */ /* { dg-options "-O3" } */ int k; void __attribute__((noinline)) f2 (int b) { k = b - 1; } void f1 (int a, int b) { f2 (b); a = 1; b = 1; if (a) while (b --) k = 1; else if (b != 1) __builtin_abort (); } int main (void) { f1 (1, 1); if (k != 1) __builtin_abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log