https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56126
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Michael Bruck from comment #11) > throwing is undefined behavior with -fno-exceptions. No it isn't, it's ill-formed due to a syntax error. That's very different to undefined behaviour.