URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr46909-1.c] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR tree-optimization/46909 */ extern void abort (); int __attribute__ ((__noinline__)) foo (unsigned int x) { if (! (x == 4 || x == 6) || (x == 2 || x == 6)) return 1; return -1; } int main () { int i; for (i = -10; i < 10; i++) if (foo (i) != 1 - 2 * (i == 4)) abort (); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log