https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116927
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 59258 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59258&action=edit Better testcase `-O2 -fchecking -fnon-call-exceptions -fno-delete-dead-exceptions` is enough with this C++ one.