From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19096 invoked by alias); 11 Dec 2006 21:08:28 -0000 Received: (qmail 18942 invoked by uid 48); 11 Dec 2006 21:08:10 -0000 Date: Mon, 11 Dec 2006 21:08:00 -0000 Subject: [Bug c++/30156] New: [4.1/4.2/4.3 regression] ICE on invalid template declaration X-Bugzilla-Reason: CC Message-ID: 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg00962.txt.bz2 The following invalid testcase causes an ICE on the 4.1 branch, 4.2 branch and mainline (4.1.0 and 4.1.1 are not affected, though): ==================================== struct A { template int foo(X); }; ==================================== The underlying problem is the same as in PR27961, but cannot be papered over as easily in this case ;-) -- Summary: [4.1/4.2/4.3 regression] ICE on invalid template declaration Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org BugsThisDependsOn: 27961 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30156