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


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-03-29 13:20:24 UTC ---
Author: jason
Date: Thu Mar 29 13:20:18 2012
New Revision: 185961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185961
Log:
    PR c++/52746
    * typeck.c (lookup_destructor): Clear BASELINK_QUALIFIED_P if
    we didn't get an explicit scope.
    * pt.c (tsubst_baselink): Likewise.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/overload/virtual2.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/pt.c
    branches/gcc-4_7-branch/gcc/cp/typeck.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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