Patch to fix local-alloc REG_EQUIV handling

John Wehle john@feith.com
Mon Mar 5 17:11:00 GMT 2001


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



More information about the Gcc-patches mailing list