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]
Other format: [Raw text]

Re: Minor improvements to alias.c:nonoverlapping_memrefs_p


On Sun, Nov 11, 2001 at 05:58:38AM -0500, Richard Kenner wrote:
> !       return ((CONSTANT_P (basex) && CONSTANT_P (basey))
> ! 	      || (CONSTANT_P (basex) && REG_P (basey)
> ! 		  && REGNO (basey) <= LAST_VIRTUAL_REGISTER)
> ! 	      || (CONSTANT_P (basey) && REG_P (basex)
> ! 		  && REGNO (basex) <= LAST_VIRTUAL_REGISTER));

This does not seem to me to be an appropriate way to test
for frame-pointer-ness.  In particular, argument registers
may be base registers.


r~


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