This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19448] Different value representation for bitfield width exceeding its type size.
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Jul 2013 23:13:33 +0000
- Subject: [Bug c++/19448] Different value representation for bitfield width exceeding its type size.
- Auto-submitted: auto-generated
- References: <bug-19448-4 at http dot gcc dot gnu dot org/bugzilla/>
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.