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

Reply via email to