From: Alex Shinn (alexshinn at gmail.com) Date: Mon Oct 22 21:08:21 EDT 2007 |
|
On 10/23/07, Eli Barzilay <eli at barzilay.org> wrote: > On Oct 22, Robby Findler wrote: > > Or trampolines? But gcc has a tail-call optimization, I thought. > > It has some limited support -- IIRC, only recursion, not even mutual > recursion, and definitely not arbitrary never-return calls. It can support mutual recursion but the functions need to have compatible parameter lists (i.e. use the same amount of space on the stack). See http://www.ddj.com/cpp/184401756 -- Alex
Posted on the users mailing list. |
|