This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix location for pic register save on trunk
- To: amodra at bigpond dot net dot au (Alan Modra)
- Subject: Re: PATCH: Fix location for pic register save on trunk
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Tue, 19 Jun 2001 22:46:45 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org
> Oh, why did I ever change this code? Can I suggest this slightly cleaner
> variation which avoids the {push,pop}_topmost_sequence in most cases?
> hppa-linux-gcc has been using this (minus your comment) for quite a
> while.
Looks fine to me although I haven't tested it. I was wondering about
the necessity of the {push,pop} myself. There are subtle issues with
this code regarding the inlining of functions. I suppose you have been
following this thread <http://gcc.gnu.org/ml/gcc/2001-06/msg01150.html>.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)