This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix return_addr_rtx on PA
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: PATCH: Fix return_addr_rtx on PA
- From: law at redhat dot com
- Date: Mon, 24 Sep 2001 10:24:38 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <200109221834.f8MIYTFn023550@hiauly1.hia.nrc.ca>you write:
> Currently, return_addr_rtx on the PA tries to extract the saved return
> pointer register from the frame. However, this fails when the return
> pointer isn't saved to the frame. This patch change return_addr_rtx
> to use get_hard_reg_initial_val to get the initial value of the
> return pointer.
>
> Bootstrap checked on hppa1.1-hp-hpux10.20 with no regressions.
>
> OK?
>
> Dave
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6
> 605)
>
> 2001-09-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero. Use
> initial value of return pointer register instead of value in frame-20.
> Revise comments.
This is fine. Please install this patch.
Thanks,
jeff