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()


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]