This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: reload misses register eliminations in find_reloads_address()
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: PATCH: reload misses register eliminations in find_reloads_address()
- From: Alan Lehotsky <alehotsky at cygnus dot com>
- Date: Mon, 8 Jan 2001 21:09:11 -0500
- Cc: law at redhat dot com
- References: <7034.979003056@upchuck><p04330106b6801d6c2811@[192.168.1.254]>
I also should have said that I bootstrapped a SPARC compiler today
with the corrected patch
in place and encountered no troubles.
-- Al
At 20:48 -0500 1/8/01, Alan Lehotsky wrote:
>It turns out that there's a small error in the patch I submitted.
>Namely, after
>calling eliminate_regs() on the reg_equiv_constant[regno], we go
>back and substitute
>in the original rtl, NOT the register-eliminated version!
>
>It didn't cause a problem on Solaris because the underlying bug
>never shows up anyway.
>
>Is it still okay to checkin when the patch actually does
>
> *loc = ad = tem;
>
>instead of
>
> *loc = ad = reg_equiv_constant[regno];
>
>-- Al
>=============
--
------------------------------------------------------------------------
Quality Software Management
http://www.tiac.net/users/qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation