URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [vrp29.c] - Rev 816
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-options "-O2" } */ #include <limits.h> extern void abort(void); void decCompareOp (int result) { if (result != (int) (INT_MAX + 1U)) { result = -result; if (result != (int) (INT_MAX + 2U)) abort (); } } int main() { decCompareOp (INT_MAX); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log