[Bug c++/27506] New: [4.2 Regression] bitfield enum handling regression
mueller at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 8 19:36:00 GMT 2006
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
More information about the Gcc-bugs
mailing list