gcc/testsuite/gcc.dg/20030820-1.c
raw| 1 | /* PR middle-end/11984 */ |
| 2 | /* The following program used to ICE in fold because we didn't check |
| 3 | whether the constants we were reassociating were integer constants |
| 4 | before calling tree_int_cst_lt. */ |
| 5 | |
| 6 | /* { dg-do compile } */ |
| 7 | /* { dg-options "-O2 -ffast-math" } */ |
| 8 | |
| 9 | double f(double x) |
| 10 | { |
| 11 | return 1.0 - x - 0.1; |
| 12 | } |
| 13 |