Does gcc violate the ia64 ABI?
Richard Henderson
rth@redhat.com
Sat May 17 00:50:00 GMT 2003
On Fri, May 16, 2003 at 03:25:08PM -0700, H. J. Lu wrote:
> d. At procedure return, gp must be valid (for the returning prodecure).
> This allows the compiler to optimize calls known to be local (i.e., the
> exceptions to Rule 'c').
I was not aware of this clause. I'd have sworn it wasn't a part
of the ABI at one time...
Indeed, if this clause is truely correct, then virtually all of
the tail-call possibilities on ia64 are invalid. Yes, statics
still can be done, but that's not nearly as frequent.
Can you find out when this got added to the ABI?
r~
More information about the Gcc
mailing list