--- Comment #6 from mmitchel at gcc dot gnu dot org 2006-05-19 03:05
---
Fixed in 4.2.
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Status
--- Comment #5 from mmitchel at gcc dot gnu dot org 2006-05-19 03:01
---
Subject: Bug 27506
Author: mmitchel
Date: Fri May 19 03:01:14 2006
New Revision: 113902
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113902
Log:
PR c++/27471
PR c++/27506
* typeck
--- Comment #4 from mmitchel at gcc dot gnu dot org 2006-05-17 20:33
---
Grumble. In my queue. I should have known better than to try to fix this the
right way. :-)
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #3 from kazu at gcc dot gnu dot org 2006-05-17 20:31 ---
Reproduced as of svn revision 113870.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27506
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-09 06:17 ---
Confirmed, reduced testcase:
enum EBorderStyle
{
BNATIVE, BHIDDEN
};
struct BorderValue
{
enum EBorderStyle style:8;
};
enum EBorderStyle f(const struct BorderValue *border)
{
return border ? border->style :
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
CC||mmitchel at gcc dot gnu dot
|
--- Comment #1 from mueller at gcc dot gnu dot org 2006-05-08 20:31 ---
error message is:
bitfield-error-1.cc:14: error: invalid conversion from 'int' to 'EBorderStyle'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27506