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++/32210] Wrong alignment of struct members where one member is bitfield exceeding its type.



------- Comment #2 from cjain at ca dot ibm dot com  2007-06-05 15:17 -------
(In reply to comment #1)
> for what target?

I tried the testcase on a SLES10 machine. Here is the output on sles9 with g++
3.3.3:
Here
Printing an object on 4 bytes
Byte 0 is 0
Byte 1 is 1
Byte 2 is 0
Byte 3 is 1
Finish printing
2


-- 


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


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