the following testcase no longer compiles: === Cut === enum EBorderStyle { BNATIVE, BHIDDEN }; class BorderValue { public: EBorderStyle style:1; }; struct CollapsedBorderValue { EBorderStyle style () const { return border ? border->style : BNATIVE; } const BorderValue *border; }; === Cut ===
-- Summary: [4.2 Regression] bitfield enum handling regression Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mueller at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27506