[Bug middle-end/20674] unexpected result from floating compare

piaget at us dot ibm dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 28 22:44:00 GMT 2005

------- Additional Comments From piaget at us dot ibm dot com  2005-03-28 22:44 -------
I tried this on a 64-bit system, and noticed I needed to compile -m32 to get 
the error (this was on an older gcc level, though. 3.2.3)

I don't understand how this can be a precision problem. How can both if checks 
be true?
val <= 1.0
val > 1.0



More information about the Gcc-bugs mailing list