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

Reply via email to