FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.dg / 991230-1.c
blob76b1b8e98842c4f06957f60c78b7ba4bc5d65520
1 /* { dg-do run { target i?86-*-* } } */
2 /* { dg-options "-O -ffast-math -mtune=i486" } */
4 /* Test that floating point greater-than tests are compiled correctly with
5 -ffast-math. */
7 extern void abort (void);
9 static int gt (double a, double b)
11 if (a > b)
12 return 4;
13 return 0;
16 static double zero = 0.0;
18 int main ()
20 if (gt (zero, zero))
21 abort ();
22 return 0;