[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 9 16:43:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Isn't this just an invalid test?  I mean, when working with floating point,
especially when using -ffast-math, one needs to accept some inaccuracy.
Here we compute
0x1.ffffffffffff9p+11
which is 7ulps from the correct result, I'd say for -ffast-math that is within
the acceptability limit.


More information about the Gcc-bugs mailing list