https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103711
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:32d8ff73718fd07a9a7dfd2566d3b7b69f37b6bd commit r12-6335-g32d8ff73718fd07a9a7dfd2566d3b7b69f37b6bd Author: Jason Merrill <ja...@redhat.com> Date: Wed Jan 5 19:39:48 2022 -0500 c++: when delegating constructor throws [PR103711] We were always calling the complete destructor if the target constructor throws, even if we were calling the base constructor. PR c++/103711 gcc/cp/ChangeLog: * init.c (perform_target_ctor): Select destructor by in_chrg. gcc/testsuite/ChangeLog: * g++.dg/eh/delegating1.C: New test.