https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-09-21
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |ebotcazou at gcc dot gnu.org
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I suppose that argues for a tighter coupling of -fnon-call-exceptions
> and -ftrapping-math and in particular not enabling -ftrapping-math
> by default (unless -fnon-call-exceptions is enabled?).
Nope, in Ada where -fnon-call-exceptions is the default, -fno-trapping-math is
also the default (at least on native platforms). If you do not do that, then
you end up with EH edges from every single floating-point operations.