This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33823] bitfields on packed struct aligns by a few bits if the types differ
- From: "alexandre dot nunes at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Oct 2007 12:55:11 -0000
- Subject: [Bug c/33823] bitfields on packed struct aligns by a few bits if the types differ
- References: <bug-33823-15246@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from alexandre dot nunes at gmail dot com 2007-10-20 12:55 -------
(In reply to comment #2)
> 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://www.sco.com/developers/devspecs/abi386-4.pdf
Would that be it?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33823