https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576
Zack Weinberg <zackw at panix dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zackw at panix dot com
--- Comment #5 from Zack Weinberg <zackw at panix dot com> ---
The C standard doesn't say malloc _will_ set errno on failure, but it also
doesn't say it _won't_, and all library functions are allowed to clobber the
value of errno unless it is specifically documented that they won't (N1570 7.5
[Errors], para 3, last sentence).
In any case, an option named -fno-math-errno has no business affecting the
treatment of functions that have nothing to do with mathematics.