[Bug c/85661] double comparison illegally statically reduced

2018-05-05 Thread manuel.serrano at inria dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85661 --- 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.

[Bug c/85661] New: double comparison illegally statically reduced

2018-05-04 Thread manuel.serrano at inria dot fr
Assignee: unassigned at gcc dot gnu.org Reporter: manuel.serrano at inria dot fr Target Milestone: --- Double comparisons are sometime erroneously resolved by the compiler. Let's us consider the following C code: % cat bar.c int BGl_testz00zzbugz002(double BgL_lhs1029z00_4