[Bug other/88499] Check for less than zero removed before floating point division causes division by zero (fast-math mode)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 14 19:02:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88499

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You need to turn back on trapping math, -ftrapping-math for this to work
correctly.  -ftrapping-math is turned off with -ffast-math.


More information about the Gcc-bugs mailing list