URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [vrp44.c] - Rev 689
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; }