gcc/testsuite/gcc.target/i386/20000609-1.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-require-effective-target ia32 } */ |
| 3 | /* { dg-options "-O1 -ffast-math -march=i686" } */ |
| 4 | |
| 5 | |
| 6 | /* Sanity check for fp_jcc_* with TARGET_CMOVE. */ |
| 7 | |
| 8 | extern void abort (void); |
| 9 | |
| 10 | static int test(double a) |
| 11 | { |
| 12 | if (a) |
| 13 | return 0; |
| 14 | } |
| 15 | |
| 16 | static double zero = 0.0; |
| 17 | |
| 18 | int main () |
| 19 | { |
| 20 | test (zero); |
| 21 | return 0; |
| 22 | } |