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.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [vrp12.c] - Rev 154
Compare with Previous | Blame | View Log
/* { dg-do link } */ /* { dg-options -O2 } */ foo (int i) { int x; x = i; if (i < -10) { x = __builtin_abs (i); /* VRP was incorrectly folding this to if (1). */ if (x < 0) link_error (); } return x; } main() { foo (-30); }