This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: forcing tail/sibling call optimization
On Mon, Nov 27, 2000 at 03:33:03PM -0500, Harvey J. Stein wrote:
> Except that this extension already exists - functions can already have
> the __stdcall__ attribute, and gcc can be called with the -mrtd
> switch. I think that's all the calling convention support that's
> necessary.
this is only available for i386 and it doesn't handle more cases than
the standard sibcall optimization, i.e. no variable argument
functions, no calls to functions taking more arguments (more argument
space) than the caller, no indirect function calls, ...
bye
schani
--
Mark Probst
Student, Programmer, Juggler
http://www.complang.tuwien.ac.at/~schani/