This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/40032] New: [4.5 regression] ICE with incomplete type in struct


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]