Optimizer is putting result of a log into the wrong reg
Singh, Kirat
Kirat.Singh@gs.com
Thu Sep 23 07:47:00 GMT 1999
Oops, sorry about that. I am now passing doubles where doubles are expected
(I also simplified it a bit). But it *still* puts a NaN into the variable
DiscRate whereas it clearly should be 0.
gromit:singhki$ gcc -v
Reading specs from
/local/packages/gcc-2.95/lib/gcc-lib/i686-pc-linux-gnu/2.95/specs
gcc version 2.95 19990728 (release)
gromit:singhki$ gcc -Wall -O foo.c -o foo -lm; foo
Arghhhhhh!
-Kirat
<<foo.c>>
-----Original Message-----
From: Stephen L Moshier [SMTP:moshier@mediaone.net]
Sent: Thursday, September 23, 1999 9:04 AM
To: Bernd Schmidt
Cc: Singh; egcs-bugs@egcs.cygnus.com
Subject: Re: Optimizer is putting result of a log into the
wrong reg
> Eh? I just looked at the C standard
Look harder.
More information about the Gcc-bugs
mailing list