This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2009 20:32:32 -0000
- Subject: [Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid testcase triggers an ICE on the trunk:
=================
struct A
{
enum E : 8;
};
=================
bug.c:3: warning: '<anonymous>' 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