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.dg/] [tree-ssa/] [vrp44.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do link } */ /* { dg-options "-O2" } */ extern void link_error (void); void test1(int i) { if (i >= -5 && i <= 8) { unsigned int j = i + 1; if (j == -5) link_error (); if (j == 10) link_error (); } } void test2(unsigned int i) { if (i >= -5 || i <= 8) { int j = i; if (j == -6) link_error (); if (j == 9) link_error (); } } int main() { return 0; }