This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19448] Different value representation for bitfield width exceeding its type size.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19448

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu.org

--- Comment #20 from David Edelsohn <dje at gcc dot gnu.org> ---
I don't think that Janis is working on this PR any more.  I'm not sure if the
examples still are valid C++.

unsigned char m1:17;

warning: width of 'bc::m1' exceeds its type [enabled by default]
   unsigned char m1 :17; 
                     ^

The testcase do not fail with GCC 4.7.2 and GCC 4.8.1.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]