* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 991230-1.c
blob2c9f011ceaee6867d76234f3c7b0f9be8a505fb6
1 /* { dg-do run } */
2 /* { dg-require-effective-target ia32 } */
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;