URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20040831-1.c] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
/* This testcase was being miscompiled, because operand_equal_p returned that (unsigned long) d and (long) d are equal. */ extern void abort (void); extern void exit (int); int main (void) { double d = -12.0; long l = (d > 10000) ? (unsigned long) d : (long) d; if (l != -12) abort (); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log