This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does gcc violate the ia64 ABI?
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: "H. J. Lu" <hjl at lucon dot org>, gcc at gcc dot gnu dot org, rth at redhat dot com, schwab at suse dot de
- Date: Mon, 19 May 2003 13:01:39 +1000
- Subject: Re: Does gcc violate the ia64 ABI?
- References: <20030517202234.A28227@lucon.org> <200305182251.h4IMpsCD017880@hiauly1.hia.nrc.ca>
On 18-May-2003, John David Anglin <dave@hiauly1.hia.nrc.ca> wrote:
> > The rule says gp much be valid at entry and exit, period. It states
> >
> > ---
> > The effect of the rules is that gp must be treated as scratch register
> > at the point of call (i.e., it must be saved by the caller), and it must
> > be preserved from entry to exit.
>
> > A violation is a violation. There is no slight violation.
>
> Okay officer you got me, don't shoot! You already got me in the leg.
> I promise I won't do any more of those nasty tail calls, use thunks or
> jump on trampolines ...
If the ABI can't support tail calls, then I'd say the ABI is broken,
and should be replaced, not GCC.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.