PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / ieee / unsafe-fp-assoc.c
blobd67fef023214ee3fdf2d3d248e693af6a3b30798
1 #include <float.h>
3 extern void abort(void);
5 static const double C = DBL_MAX;
7 double foo(double x)
9 return ( ( (x * C) * C ) * C);
12 int main ()
14 double d = foo (0.0);
15 if (d != 0.0)
16 abort ();
18 return 0;