https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #29 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Note that Darwin opts out of flag_math_errno in common/config (which is also
per-cpu-target, so the same code is duplicated for powerpc):
/* Implement TARGET_OPTION_INIT_STRUCT. */
static void
ix86_option_init_struct (struct gcc_options *opts)
{
if (TARGET_MACHO)
/* The Darwin libraries never set errno, so we might as well
avoid calling them when that's the only reason we would. */
opts->x_flag_errno_math = 0;