https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100409
--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Richard Biener from comment #14) > Does that mean C++ should default to -fdelete-dead-exceptions? That makes sense. The C++ standard has nothing to say about this, since pure/const are extensions. And throwing an exception from a signal handler is undefined behavior.