This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC -- update_equiv_regs and friends
- To: law at redhat dot com
- Subject: Re: RFC -- update_equiv_regs and friends
- From: John Wehle <john at feith dot com>
- Date: Sun, 4 Mar 2001 02:00:02 -0500 (EST)
- CC: rth at redhat dot com, gcc at gcc dot gnu dot org
> Anyway, if I'm right, then I think it is really in our best interest to
> avoid making equivalences where the equivalence references a pseudo or a
> hard register other than the frame pointer or stack pointer.
I see that REG_EQUIV notes which refer to a MEM can be created by
update_equiv_regs. Based on your comments regarding reload not
validating / reloading the register allocated to a pseudo mentioned
in a REG_EQUIV prior to using the REG_EQUIV this seems dangerous
since the MEM might contain a pseudo.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------