URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [divcmp-5.c] - Rev 826
Compare with Previous | Blame | View Log
/* PR middle-end/26561 */ extern void abort(void); int always_one_1 (int a) { if (a/100 >= -999999999) return 1; else return 0; } int always_one_2 (int a) { if (a/100 < -999999999) return 0; else return 1; } int main(void) { if (always_one_1 (0) != 1) abort (); if (always_one_2 (0) != 1) abort (); return 0; }