This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32210] Wrong alignment of struct members where one member is bitfield exceeding its type.
- From: "cjain at ca dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2007 15:17:26 -0000
- Subject: [Bug c++/32210] Wrong alignment of struct members where one member is bitfield exceeding its type.
- References: <bug-32210-14653@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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