This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix local-alloc REG_EQUIV handling
- To: law at cygnus dot com
- Subject: Re: Patch to fix local-alloc REG_EQUIV handling
- From: John Wehle <john at feith dot com>
- Date: Mon, 5 Mar 2001 20:11:47 -0500 (EST)
- cc: gcc-patches at gcc dot gnu dot org
> > * 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 | |
-------------------------------------------------------------------------