https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103024
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Yes with -fnon-call-exceptions and -fsignaling-nans conditionals can (and might) throw an exception. Maybe a sorry early during option processing should happen and turn off hardening of condtionals.