From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22349 invoked by alias); 27 Mar 2006 11:27:36 -0000 Received: (qmail 22323 invoked by uid 48); 27 Mar 2006 11:27:31 -0000 Date: Mon, 27 Mar 2006 11:27:00 -0000 Message-ID: <20060327112730.22322.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/26365] [3.4/4.0/4.1/4.2 Regression] ICE in finish_class_member_access_expr, at cp/typeck.c 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-03/txt/msg02641.txt.bz2 List-Id: ------- Comment #5 from reichelt at gcc dot gnu dot org 2006-03-27 11:27 ------- Here are two more reduced testcases. The first ICEs since GCC 3.4.0, the second since at least GCC 2.95.3: ===================================== struct A {}; namespace N { template void foo(); } void bar(A *p) { p->N::foo<0>(); } ===================================== ===================================== struct A {}; namespace N { template void foo(); } void bar(A *p) { p->N::foo<0>; // without parens } ===================================== -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Keywords| |monitored http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26365