From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20400 invoked by alias); 5 May 2009 20:32:47 -0000 Received: (qmail 20357 invoked by uid 48); 5 May 2009 20:32:32 -0000 Date: Tue, 05 May 2009 20:32:00 -0000 Subject: [Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct 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: 2009-05/txt/msg00368.txt.bz2 The following invalid testcase triggers an ICE on the trunk: ================= struct A { enum E : 8; }; ================= bug.c:3: warning: '' is narrower than values of its type ' Segmentation fault Please submit a full bug report, [etc.] The C++ frontend is not affected. The bug appeared between 2009-04-24 and 2009-05-04. -- Summary: [4.5 regression] ICE with incomplete type in struct Product: gcc Version: 4.5.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=40032