1 /* { dg-do run } */ 2 /* { dg-require-effective-target ia32 } */ 3 /* { dg-options "-O -ffast-math -mtune=i486" } */ 4 5 /* Test that floating point greater-than tests are compiled correctly with 6 -ffast-math. */ 7 8 extern void abort (void); 9 gt(double a,double b)10static int gt (double a, double b) 11 { 12 if (a > b) 13 return 4; 14 return 0; 15 } 16 17 static double zero = 0.0; 18 main()19int main () 20 { 21 if (gt (zero, zero)) 22 abort (); 23 return 0; 24 } 25