[Bug c/82318] -fexcess-precision=standard has no effect on a libm function call

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 24 22:55:00 GMT 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Target|                            |i?86-*-*

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is interesting because log2 should have already done a rounding to double
before returning.

What glibc version are you using because that matters here too.


More information about the Gcc-bugs mailing list