8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/960513-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

26 lines
270 B
C

long double
f (d, i)
long double d;
int i;
{
long double e;
d = -d;
e = d;
if (i == 1)
d *= 2;
d -= e * d;
d -= e * d;
d -= e * d;
d -= e * d;
d -= e * d;
return d;
}
main ()
{
if (! (int) (f (2.0L, 1)))
abort ();
exit (0);
}