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: "rth 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 18:11:02 -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 rth at gcc dot gnu dot org 2005-01-26 18:11 -------
Tricky. Part the first, I thought, is that the mode of the FIELD_DECL doesn't
match the mode of the FIELD_DECL's type. Except that doesn't actually appear to
matter. I shall fix it anyway.
As for combine, the problem on i386 is that we merge the mem with the QImode AND,
which prevents the later combination with the SImode AND. The problem on PowerPC
is a missing optimization in make_field_assignment.
Perhaps we can avoid the zero_extend and use a paradoxical subreg instead...
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2004-12-12 03:56:39 |2005-01-26 18:11:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18008