From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Probst To: gcc@gcc.gnu.org, "Harvey J. Stein" Subject: Re: forcing tail/sibling call optimization Date: Mon, 27 Nov 2000 16:07:00 -0000 Message-id: <20001128010717.T16207@vader.unix.cslab.tuwien.ac.at> References: <20001127164400.0929334D80@nile.gnat.com> <490.975347114@upchuck> <20001127192214.Q16207@vader.unix.cslab.tuwien.ac.at> X-SW-Source: 2000-11/msg01220.html 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/