This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix PR target/35054


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]