public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27506]  New: [4.2 Regression] bitfield enum handling regression
@ 2006-05-08 19:36 mueller at gcc dot gnu dot org
  2006-05-08 20:31 ` [Bug c++/27506] " mueller at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-05-08 19:36 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-05-19  3:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-08 19:36 [Bug c++/27506] New: [4.2 Regression] bitfield enum handling regression mueller at gcc dot gnu dot org
2006-05-08 20:31 ` [Bug c++/27506] " mueller at gcc dot gnu dot org
2006-05-08 20:45 ` pinskia at gcc dot gnu dot org
2006-05-09  6:17 ` pinskia at gcc dot gnu dot org
2006-05-17 20:31 ` kazu at gcc dot gnu dot org
2006-05-17 20:33 ` mmitchel at gcc dot gnu dot org
2006-05-19  3:01 ` mmitchel at gcc dot gnu dot org
2006-05-19  3:06 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).