This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does gcc violate the ia64 ABI?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]