* gcc.c-torture/execute/980709-1.c: New test.
From-SVN: r21046
This commit is contained in:
parent
52fe52e20e
commit
57c578cfad
@ -11,6 +11,8 @@ Thu Jul 9 22:44:49 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
Thu Jul 9 00:38:51 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/execute/980709-1.c: New test.
|
||||
|
||||
* gcc.dg/980709-1.c: New test.
|
||||
|
||||
Tue Jul 7 13:41:27 1998 Richard Henderson <rth@cygnus.com>
|
||||
|
14
gcc/testsuite/gcc.c-torture/execute/980709-1.c
Normal file
14
gcc/testsuite/gcc.c-torture/execute/980709-1.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include <math.h>
|
||||
|
||||
main()
|
||||
{
|
||||
volatile double a;
|
||||
double c;
|
||||
a = 32.0;
|
||||
c = pow(a, 1.0/3.0);
|
||||
if (c + 0.1 > 3.174802
|
||||
&& c - 0.1 < 3.174802)
|
||||
exit (0);
|
||||
else
|
||||
abort ();
|
||||
}
|
Loading…
Reference in New Issue
Block a user