This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/82560] [7/8 Regression] Temporary object created as a default argument not destructed


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]