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

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 45315
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45315&action=edit
patch

What I have sofar - this doesn't work for Fortran behaving differently by
default.  I think a proper fix would be to refactor the existing
_set_by_frontend stuff triggered via SetByCombined into a frontend specific
default_options_table (lang_hooks.default_options_table I guess) which
gets merged with the global default_options_table, overriding any settings
there.

Note there's a related bug complaining about -fno-math-errno not doing what
is documented.  That probably changed because of fortran as well.

Reply via email to