https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61611
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:cfcf6459810b010e8af2798581967872f68f1178 commit r11-9521-gcfcf6459810b010e8af2798581967872f68f1178 Author: Jason Merrill <ja...@redhat.com> Date: Thu Jan 6 09:45:26 2022 -0500 c++: nested catch in ctor fn-try-block [PR61611] Being in_function_try_handler isn't enough to satisfy the condition of reaching the end of such a handler; in this case, we're reaching the end of a handler within that handler, so we don't want the special semantics. PR c++/61611 gcc/cp/ChangeLog: * except.c (in_nested_catch): New. (expand_end_catch_block): Check it. gcc/testsuite/ChangeLog: * g++.dg/eh/ctor-fntry1.C: New test.