https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356
--- Comment #28 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Oh, with the little detail that it should be > cfun->can_throw_non_call_exceptions > (with the unfortunate reference to cfun) We have global references to flag_trapping_math in match.pd so I think that global references to flag_non_call_exceptions can do too.