typeck2.c
73.6 KB
-
PR c++/85552 - wrong instantiation of dtor for DMI. · 8a26547b
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
Jason Merrill committed