This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18008] [4.0 Regression] Duplicate mask on bitfield insertion
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2005 02:12:56 -0000
- Subject: [Bug middle-end/18008] [4.0 Regression] Duplicate mask on bitfield insertion
- References: <20041015091714.18008.nathan@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2005-01-26 02:12 -------
g++ produces the same code as 3.3. The .optimized dump for cc1plus:
void store(B*, int) (b, v)
{
unsigned int v.0;
<bb 0>:
b->b = (unsigned int) v;
return;
}
Look mom, no casts!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18008