* gcc.c-torture/execute/980709-1.c: New test.

From-SVN: r21046
This commit is contained in:
Jeffrey A Law 1998-07-09 23:19:19 +00:00 committed by Jeff Law
parent 52fe52e20e
commit 57c578cfad
2 changed files with 16 additions and 0 deletions

View File

@ -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>

View 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 ();
}