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.


------- 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


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