This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17112] Copying of packed bitfields is wrong
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2004 03:36:29 -0000
- Subject: [Bug middle-end/17112] Copying of packed bitfields is wrong
- References: <20040819232250.17112.gene@digilicious.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-09-23 03:36 -------
int24 is given a SImode despite being 24bits, and then the SImode is given to
myint24 too (because it's the only field). My understanding is that the struct
was a BLKmode, everything would work as expected.
I think this bug needs someone more familiar with stor-layout.c than I am.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17112