This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29105] [4.2 Regression] segfault in add_candidates with a non template base class and a template member function
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2006 04:13:02 -0000
- Subject: [Bug c++/29105] [4.2 Regression] segfault in add_candidates with a non template base class and a template member function
- References: <bug-29105-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from mmitchel at gcc dot gnu dot org 2006-10-02 04:13 -------
Subject: Bug 29105
Author: mmitchel
Date: Mon Oct 2 04:12:51 2006
New Revision: 117361
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117361
Log:
PR c++/29105
* pt.c (tsubst_baselink): Substituteinto the qualifying scope.
* semantics.c (baselink_for_fns): Build a baselink, even when
processing a template.
PR c++/29105
* g++.dg/template/member6.C: New test.
* g++.dg/parse/typename7.C: Adjust error markers.
Added:
trunk/gcc/testsuite/g++.dg/template/member6.C
Modified:
trunk/gcc/cp/pt.c
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/g++.dg/parse/typename7.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29105