This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: pa.md bugfix
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: pa.md bugfix
- From: Jeffrey A Law <law at redhat dot com>
- Date: Mon, 29 Jan 2001 22:13:46 -0700
- cc: gcc-patches at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <200101272145.QAA24380@hiauly1.hia.nrc.ca>you write:
> Here is a revised patch which should apply correctly with the current
> source. Bootstrapped and checked under hpux 10.20.
>
> Dave
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6
> 605)
>
> 2001-01-27 John David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * pa.md (return): Revise comment for trivial return.
> (return_internal): Non-trivial return pattern for non-PIC code.
> (return_internal_pic): Non-trivial return pattern for PIC code.
> It uses the PIC register to ensure it is restored after
> function calls.
> (epilogue): Generate appropriate return for PIC and non-PIC code.
Thanks. I installed this with a minor change. Specifically
return_internal verifies that flag_pic is zero and return_internal_pic
verifies that flag_pic is nonzero.
jeff