OSDN Git Service

2009-01-10 Sebastian Pop <sebastian.pop@amd.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / div-double-1.c
1 /* { dg-do run } */
2 /* { dg-options "-O2 -ffinite-math-only" } */
3
4 extern void abort (void);
5
6 volatile double a = 2.002083e-146;
7 volatile 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 }