PR c++/85552 - wrong instantiation of dtor for DMI.
The problem here is that when processing direct-initialization of a data member, we don't need to worry about destruction semantics; that will be handled in the [cd]tor. Conveniently, we already have tf_no_cleanup from a similar fix to new-expressions. * typeck2.c (digest_nsdmi_init): Set tf_no_cleanup for direct-init. From-SVN: r272287
Showing
gcc/testsuite/g++.dg/cpp0x/nsdmi-list5.C
0 → 100644
Please
register
or
sign in
to comment