From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21326 invoked by alias); 16 Jan 2006 20:34:48 -0000 Received: (qmail 21302 invoked by uid 48); 16 Jan 2006 20:34:47 -0000 Date: Mon, 16 Jan 2006 20:34:00 -0000 Message-ID: <20060116203447.21301.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/25342] [3.4/4.0/4.1/4.2 Regression] internal compiler error: in lookup_member, at cp/search.c:1209 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janis at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg01583.txt.bz2 List-Id: ------- 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