From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8839 invoked by alias); 4 Aug 2006 21:17:21 -0000 Received: (qmail 8811 invoked by uid 48); 4 Aug 2006 21:17:14 -0000 Date: Fri, 04 Aug 2006 21:17:00 -0000 Message-ID: <20060804211714.8810.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/25342] [4.0 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: "reichelt 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-08/txt/msg00297.txt.bz2 List-Id: ------- Comment #10 from reichelt at gcc dot gnu dot org 2006-08-04 21:17 ------- The reduced testcase from comment #1 now compiles on the 4.0 branch. However, the original testcase still causes hiccups (but no ICE): bug.cc: In static member function 'static void tpl_seq_search::range::find() [with typename eval::enum_type first = 498, typename eval::enum_type last = 20, eval = xxx]': bug.cc:10: error: template instantiation depth exceeds maximum of 500 (use -ftemplate-depth-NN to increase the maximum) instantiating 'struct tpl_seq_search::range<499, 20>' bug.cc:10: instantiated from 'static void tpl_seq_search::range::find() [with typename eval::enum_type first = 498, typename eval::enum_type last = 20, eval = xxx]' bug.cc:10: instantiated from 'static void tpl_seq_search::range::find() [with typename eval::enum_type first = 497, typename eval::enum_type last = 20, eval = xxx]' [snip] bug.cc:10: instantiated from 'static void tpl_seq_search::range::find() [with typename eval::enum_type first = 1, typename eval::enum_type last = 20, eval = xxx]' bug.cc:10: instantiated from 'static void tpl_seq_search::range::find() [with typename eval::enum_type first = 0, typename eval::enum_type last = 20, eval = xxx]' bug.cc:28: instantiated from 'void tpl_seq_search_from_to() [with eval = xxx, typename eval::enum_type first = 0, typename eval::enum_type last = 20]' bug.cc:40: instantiated from here bug.cc:10: error: incomplete type 'tpl_seq_search::range<499, 20>' used in nested name specifier -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25342