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 middle-end/42217] New: [4.5 Regression] ICE with zero-length bit-field


The following valid code snippet triggers an ICE on trunk:

==================
struct A
{
  int : 0;
};

A a = A();
==================

bug.cc:6:9: internal compiler error: in int_or_pointer_precision, at
tree.c:10593
Please submit a full bug report, [etc.]


-- 
           Summary: [4.5 Regression] ICE with zero-length bit-field
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: middle-end
        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=42217


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