Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 930603-1.c
blob52c2e62d7ae305ebdec443c906b9f987d4c78104
1 /* { dg-additional-options "-std=gnu89" } */
3 float fx (x)
4 float x;
6 return 1.0 + 3.0 / (2.302585093 * x);
9 main ()
11 float fx (), inita (), initc (), a, b, c;
12 a = inita ();
13 c = initc ();
14 f ();
15 b = fx (c) + a;
16 f ();
17 if (a != 3.0 || b < 4.3257 || b > 4.3258 || c != 4.0)
18 abort ();
19 exit (0);
22 float inita () { return 3.0; }
23 float initc () { return 4.0; }
24 f () {}