[Bug c++/52746] [4.7/4.8 Regression] Explicit virtual destructor call replaced by direct call in template function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 24 02:21:00 GMT 2016
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
More information about the Gcc-bugs
mailing list