[C++ PATCH 82560] missing dtor call
authorNathan Sidwell <nathan@acm.org>
Tue, 17 Oct 2017 15:52:21 +0000 (15:52 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 17 Oct 2017 15:52:21 +0000 (15:52 +0000)
commit5a2018625a1192831f76b5bac3cb679a88947577
treec6e2dd122287481cd4564e2e3db336f69861441d
parent816c4ba228ea728c3e07161528b8781d61e9af7f
[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.

From-SVN: r253820
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr82560.C [new file with mode: 0644]