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++/52746] [4.7/4.8 Regression] Explicit virtual destructor call replaced by direct call in template function


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52746

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jul 24 02:20:17 2016
New Revision: 238682

URL: https://gcc.gnu.org/viewcvs?rev=238682&root=gcc&view=rev
Log:
        PR c++/71748 - call to base destructor in template.

        PR c++/52746
        * pt.c (tsubst_baselink): Call
        adjust_result_of_qualified_name_lookup for unqualified
        destructors.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/template/dtor10.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/pt.c

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