Commit e5a7acdd by Jakub Jelinek Committed by Jakub Jelinek

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

From-SVN: r37657
parent ed5db764
2000-11-22 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/ieee/20001122-1.c: New test.
2000-11-22 Hans-Peter Nilsson <hp@bitrange.com>
* lib/gcc-dg.exp: load_lib scanasm.exp.
......
volatile double a, *p;
int main ()
{
double c, d;
volatile double b;
d = 1.0;
p = &b;
do
{
c = d;
d = c * 0.5;
b = 1 + d;
} while (b != 1.0);
a = 1.0 + c;
if (a == 1.0)
abort();
exit (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment