This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR target/35054
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Michael Matz" <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Feb 2008 17:33:06 +0100
- Subject: Re: [patch] Fix PR target/35054
- References: <Pine.LNX.4.64.0802011707340.20583@wotan.suse.de>
On Feb 1, 2008 5:12 PM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> the problem here is that postreload-gcse doesn't iterator over all
> constituents of a multi-reg hardreg. In the testcase this leads to a
> (clobber:SC ax) (clobbering eax and edx) not being noted as destroying
> %edx, so it thought a reload from stack to %edx later wasn't needed.
> Fixed by changing the interface a bit, and iterating over all hardregs.
>
> Regstrapping in progress on i686, x86_64. Okay for trunk? The testcase
> is architecture independend, but probably only breaks for i?86 (the others
> have too many registers free).
Ok.
Thanks,
Richard.