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 01:49:07 -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 #1 from alexandre dot nunes at gmail dot com 2007-10-20 01:49 -------
Created an attachment (id=14374)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14374&action=view)
A complete testcase.
I compiled with gcc -ggdb3 file.c -o file, no optimization flags.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33823