Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / gcc.dg / 991230-1.c
blob1cb66f5c379fba2fcb1d48f334dd4363ab22a95e
1 /* { dg-do run { target i?86-*-* } } */
2 /* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
3 /* { dg-options "-O -ffast-math -mtune=i486" } */
5 /* Test that floating point greater-than tests are compiled correctly with
6 -ffast-math. */
8 extern void abort (void);
10 static int gt (double a, double b)
12 if (a > b)
13 return 4;
14 return 0;
17 static double zero = 0.0;
19 int main ()
21 if (gt (zero, zero))
22 abort ();
23 return 0;