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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |*-linux-gnu

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to g.peterhoff from comment #2)
> But this is of no use if I want to compile something "normally" without
> compiler specific options.

Note some libc implementations don't implement setting errno on math functions
(e.g. Darwin) and for those targets,  -fno-math-errno is already the default.

So if you don't need to check errno, then you can use  -fno-math-errno. C/C++
allows for an implementation to set errno on an error for math functions even.
So this is more about you wanting something different from what the
implementation does ...

Reply via email to