PATCH: reload misses register eliminations in find_reloads_address()

Jeffrey A Law law@redhat.com
Tue Jan 9 18:02:00 GMT 2001


  In message < p04330106b6801d6c2811@[192.168.1.254] >you write:
  > 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];
Yes, this is fine.
jeff



More information about the Gcc-patches mailing list