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: law at redhat dot com
- Subject: Re: PATCH: reload misses register eliminations in find_reloads_address()
- From: Alan Lehotsky <lehotsky at tiac dot net>
- Date: Mon, 8 Jan 2001 20:48:59 -0500
- Cc: Alan Lehotsky <alehotsky at cygnus dot com>, gcc-patches at gcc dot gnu dot org
- References: <7034.979003056@upchuck>
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