From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29075 invoked by alias); 15 Aug 2006 19:15:46 -0000 Received: (qmail 29011 invoked by uid 48); 15 Aug 2006 19:15:38 -0000 Date: Tue, 15 Aug 2006 19:15:00 -0000 Subject: [Bug c++/28743] New: [4.1/4.2 regression] ICE with invalid specialization 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-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-08/txt/msg01168.txt.bz2 List-Id: The following invalid testcase triggers an ICE on mainline and 4.1 branch: ======================================================== template struct A { template void foo(); }; template template void A<0>::foo() {} ======================================================== bug.cc:6: internal compiler error: in check_classfn, at cp/decl2.c:579 Please submit a full bug report, [etc.] The regression happened between 4.1.1 and 4.1.2-20060714 on the 4.1 branch. The problem is related to PR 27962. -- Summary: [4.1/4.2 regression] ICE with invalid specialization Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28743