[Bug c++/19448] Different value representation for bitfield width exceeding its type size.
janis187 at us dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 15 01:28:00 GMT 2005
------- Additional Comments From janis187 at us dot ibm dot com 2005-01-15 01:27 -------
Darn, I did my comments wrong.
Yan, the testcase you attached doesn't match the output you show. For all
compilers I have available on a RHEL3 system I get:
Dumping array with size of 2
Character 0 is 1
Character 1 is 0
c1.m1=1,
Please provide some examples of classes with bitfields that are not compatible
between releases of GCC. I've attached an example testcase for binary
compatibility tests in the format used by the GCC testsuite. Our binary
compatibility tests are not at all complete and we need more tests to cover
this kind of functionality; that's on my todo list already.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19448
More information about the Gcc-bugs
mailing list