[Bug c/50695] double comparison broken after computation
gpib at rickyrockrat dot net
gcc-bugzilla@gcc.gnu.org
Wed Oct 12 17:40:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50695
--- Comment #11 from rickyrockrat <gpib at rickyrockrat dot net> 2011-10-12 17:40:25 UTC ---
Richard,
The original issue involved strtof, with -Wall enabled in the Makefile, and
stdlib.h included. That is the case that brought all this up, and that is the
case where it prints Bug!!1.000000E-06. I still don't understand why widening
the result from float to double would cause the problem.
I apologize for my pathetic test cases that not only made me look like an
idiot, but threw confusion into the mix as well. I suppose I shouldn't submit
a bug report while I do 10 other things.
It doesn't seem to me it's resolved, but everyone here seems to think it
invalid, and I've got a work-around that works for me, so I give up.
Thanks.
More information about the Gcc-bugs
mailing list