[Bug c/33823] bitfields on packed struct aligns by a few bits if the types differ
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 20 09:47:00 GMT 2007
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-10-20 09:47 -------
The standard puts all the burden on the implementation (See 6.7.2.1/10).
The GCC manual in turn says the behavior is specified by the ABI (4.9
Structures, unions, enumerations, and bit-fields), which would be the sysv ABI
which I
don't have handy right now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33823
More information about the Gcc-bugs
mailing list