[Bug c++/66239] Unoptimized sqrt(float or double) returns wrong values for ARM Cortex-A8 -mfloat-abi=[soft,softfp]

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 21 17:33:00 GMT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-05-21
     Ever confirmed|0                           |1

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to ktkachov from comment #3)
> Considering that the -O0 version is the only one that ends up calling the
> library functions, perhaps there's something wrong with your math library?
> I'm using newlib for arm-none-eabi

Or maybe the libm that is not using the correct ABI.  Since you did not place
how you built gcc, it is hard to tell right away.



More information about the Gcc-bugs mailing list