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]
Other format: [Raw text]

Re: Reload patch for PA call rewrite.


On Wed, Oct 23, 2002 at 04:33:50PM -0400, John David Anglin wrote:
> 	* reload1.c (reload): Make the arg pointer register live if the memory
> 	address that is used to eliminate a pseudo mentions it.

This patch isn't correct.  You're doing this too late.  If
the argument pointer isn't live at this point, you won't have
allocated a spill slot for it, which means you'll have to add
one, which means that all your elimination offsets change.

You need to have this happen inside the something_changed
loop earlier in reload.


r~


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