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


> validate_equiv_mem verifies that registers in the MEM's address do not die
> across the set of insns where the equivalence might be used by local or
> reload.

I think I'm starting to see the light.  If the pseudo isn't explicitly
dead then it must be alive regardless of register allocation / reload.
The problem is that if the pseudo is dead then it may or may not be
alive when the equivalence is used depending on what happened during
register allocation / reload.  Hence the HP problem which happened
because the lifetime information of the pseudo used in the LO_SUM was
"wrong".

I know ... it's obvious when you really think about it.  Anyway, thanks
for beating through my thick skull. :-)

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