[patch] Fix PR middle-end/18029 and PR middle-end/18030 (4.1 material)
Roger Sayle
roger@eyesopen.com
Sun Oct 17 02:37:00 GMT 2004
Hi Kazu,
On Sat, 16 Oct 2004, Kazu Hirata wrote:
> 2004-10-16 Kazu Hirata <kazu@cs.umass.edu>
>
> PR middle-end/18029 and PR middle-end/18030
> * expr.c (expand_assignment): Add a special case to handle
> BIT_IOR_EXPR and BIT_XOR_EXPR.
This patch is OK for 4.1 (though I gave serious thought to approving
it for mainline).
I also agree that we should factor either expand_component_assignment
or expand_bitfield_assignment out of expand_assignment, and that this
will be easier after your proposed clean-up to avoid expand_assignment
returning a rtx. Depending upon how invasive/safe these clean-ups are,
they may also need to wait until 4.1.
Roger
--
More information about the Gcc-patches
mailing list