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 to fix local-alloc REG_EQUIV handling


  In message <200103051613.LAA07761@jwlab.FEITH.COM>you write:
  > This should fix the local-alloc REG_EQUIV LO_SUM problem that's
  > occuring on HP.  This patch passes make bootstrap and check on
  > i386-unknown-freebsd4.2.  It also passes make check for
  > powerpc-eabisim.
  > 
  > ChangeLog:
  > 
  > Fri Mar  2 20:25:42 EST 2001  John Wehle  (john@feith.com)
  > 
  > 	* local-alloc.c (validate_equiv_mem): Reject memory
  > 	addresses which vary.
I'm almost certain this isn't needed.

Why?  Because validate_equiv_mem already checks for anything which
modifies the MEM's address.  ie, even though the address varies, we
check explicitly for modifications in the interval we care about.

  > 	* rtlanal.c (rtx_varies_p): Check operand 0 of a
  > 	LO_SUM unless for_alias is set.
This looks good.  I'm bootstrapping with this part on my PAs now.

jeff


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