This is the mail archive of the gcc@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: RFC -- update_equiv_regs and friends


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


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