This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does gcc violate the ia64 ABI?
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~