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]

Re: PATCH: reload misses register eliminations in find_reloads_address()



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

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