https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85552
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Jul 19 08:52:58 2019 New Revision: 273596 URL: https://gcc.gnu.org/viewcvs?rev=273596&root=gcc&view=rev Log: PR c++/85552 - wrong instantiation of dtor for DMI. * typeck2.c (digest_nsdmi_init): Set tf_no_cleanup for direct-init. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/nsdmi-list5.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/typeck2.c