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 02:48:26 -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 02:48 -------
Confirmed, not a regression.
This behaviour is totally wrong to me, especially since sizeof(myint24) is 3 as
expected. The same also applies if you compile the program with the C frontend.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
Status|UNCONFIRMED |NEW
Component|c++ |middle-end
Ever Confirmed| |1
Keywords| |wrong-code
Known to fail| |2.95.3 3.0.4 3.2.3 3.3.3
| |3.4.0 4.0.0
Last reconfirmed|0000-00-00 00:00:00 |2004-09-23 02:48:23
date| |
Summary|default operator= for struct|Copying of packed bitfields
|with packed bitfield is |is wrong
|wrong |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17112