This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reload patch for PA call rewrite.
- From: Richard Henderson <rth at redhat dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org, law at redhat dot com
- Date: Fri, 25 Oct 2002 15:36:43 -0700
- Subject: Re: Reload patch for PA call rewrite.
- References: <200210232033.g9NKXpee023635@hiauly1.hia.nrc.ca>
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~