[Bug c/85661] double comparison illegally statically reduced

manuel.serrano at inria dot fr gcc-bugzilla@gcc.gnu.org
Sat May 5 15:17:00 GMT 2018


--- Comment #2 from manuel.serrano at inria dot fr ---
Dear Jakub,

Thank you very much for your useful answer. I was indeed ignorant of the
-fexcess-precision=fast option and as you suggested "-msse2 -mfpmath=sse"
solves the problem. I'm still puzzled why inserting a dummy printf changes
the behaviour of the double equality test. Is that expected?

More information about the Gcc-bugs mailing list