This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71748] [4.9/5/6/7 Regression] ICE on valid (?) C++ template code invoking a base destructor: in build_base_path, at cp/class.c:304
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 Jul 2016 02:20:55 +0000
- Subject: [Bug c++/71748] [4.9/5/6/7 Regression] ICE on valid (?) C++ template code invoking a base destructor: in build_base_path, at cp/class.c:304
- Auto-submitted: auto-generated
- References: <bug-71748-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71748
--- Comment #4 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