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


>  > 	* 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.

Don't we have the same reload problem if the MEM's address mentions a
pseudo?  The pseudo might not be live when reload uses the REG_EQUIV.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


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