https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #0) > #ifdef WORKAROUND > try > { > throw 1; > } > catch (int &) > #endif Oops, of course I meant #ifndef WORKAROUND. The problem is when there is an outstanding normal exception and then we try to rethrow forced unwind exception that we catch in the catch handler.