This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25342] [3.4/4.0/4.1/4.2 Regression] internal compiler error: in lookup_member, at cp/search.c:1209
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2006 20:34:47 -0000
- Subject: [Bug c++/25342] [3.4/4.0/4.1/4.2 Regression] internal compiler error: in lookup_member, at cp/search.c:1209
- References: <bug-25342-8718@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from janis at gcc dot gnu dot org 2006-01-16 20:34 -------
A regression hunt on powerpc-linux using the testcase from comment #1
identified the following patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=72611
r72611 | lerdsuwa | 2003-10-17 15:41:46 +0000 (Fri, 17 Oct 2003) | 13 lines
PR c++/2513
* decl.c (make_typename_type): Use dependent_type_p.
(make_unbound_class_template): Likewise.
* pt.c (instantiate_class_template): Increment
processing_template_decl during substitution of template friend
function. Preincrement processing_template_decl rather than
postincrement.
(get_mostly_instantiated_function_type): Increment
processing_template_decl during partial substitution of function
type.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25342