https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560
--- Comment #6 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Tue Oct 17 17:27:11 2017 New Revision: 253822 URL: https://gcc.gnu.org/viewcvs?rev=253822&root=gcc&view=rev Log: [C++ PATCH 82560] missing dtor call https://gcc.gnu.org/ml/gcc-patches/2017-10/msg01068.html PR c++/82560 * call.c (build_over_call): Don't pass tf_no_cleanup to nested calls. PR c++/82560 * g++.dg/cpp0x/pr82560.C: New. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/pr82560.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/call.c branches/gcc-7-branch/gcc/testsuite/ChangeLog