From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8641 invoked by alias); 8 Dec 2007 22:48:34 -0000 Received: (qmail 8611 invoked by uid 48); 8 Dec 2007 22:48:23 -0000 Date: Sat, 08 Dec 2007 22:48:00 -0000 Subject: [Bug c++/34397] New: [4.3 regression] ICE on invalid default template parameter 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: 2007-12/txt/msg00659.txt.bz2 The following invalid code snippet triggers an ICE on mainline: ================================================= template struct A { typedef A B; }; ================================================= bug.cc:3: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The code is accepted by GCC 4.2.x and older. -- Summary: [4.3 regression] ICE on invalid default template parameter Product: gcc Version: 4.3.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=34397