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: 14 Feb 2008 23:15:52 -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 #10 from alexandre dot nunes at gmail dot com 2008-02-14 23:15 -------
(In reply to comment #9)
> We can't change the current behavior/ABI obviously. But the request for better
> documentation is correct.
>
Would it be feasibly to have a non-fatal testcase for this, so that it would be
easy to catch (and document) which (if any) targets deviates from this pattern?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33823