OSDN Git Service

2008-09-02 Victor Kaplansky <victork@il.ibm.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / fastmath-2.c
1 /* { dg-do run } */
2 /* { dg-options "-O2 -ffast-math" } */
3
4 extern void abort (void);
5
6 volatile double a = 2.002083e-146;
7 double b;
8
9 int
10 main()
11 {
12   b = 1. / a;
13
14   if (b != (1. / 2.002083e-146))
15     abort ();
16   return 0;
17 }
18