[Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 17 15:52:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82560
--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Tue Oct 17 15:52:21 2017
New Revision: 253820
URL: https://gcc.gnu.org/viewcvs?rev=253820&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:
trunk/gcc/testsuite/g++.dg/cpp0x/pr82560.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list