[Bug middle-end/61876] Converting __builtin_round + cast into __builtin_lround is not always equivalent in regards to math errno

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 23 13:04:00 GMT 2014


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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ktkachov at gcc dot gnu.org

--- Comment #3 from ktkachov at gcc dot gnu.org ---
> Confirmed.  The fix is to properly guard the transform, calling a function
> that the may set errno is wrong-code.

I can spin a patch for that.



More information about the Gcc-bugs mailing list