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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |easyhack

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #4)
> DEF_LIB_BUILTIN        (BUILT_IN_SIN, "sin", BT_FN_DOUBLE_DOUBLE,
> ATTR_MATHFN_FPROUNDING)
> 
> so it doesn't set errno according to GCC.

So all that needs to be done is to change ATTR_MATHFN_FPROUNDING to
ATTR_MATHFN_FPROUNDING_ERRNO on the relevant lines in builtins.def, right?

Reply via email to