[fpc-devel] Tail recursion optimization

Florian Klaempfl florian at freepascal.org
Tue Oct 10 09:49:47 CEST 2006


Yesterday, I've implemented tail recursion optimization
(http://svn.freepascal.org/svn/fpc/trunk/compiler/opttail.pas resulting in
http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=158 pp11 is the new
compiler, fpc11 the old, both are 2.1.1). It isn't enabled yet because it still
needs some fine tuning. The question is however when should it be enabled? With
-OoTAILREC? -O3? Something different?



More information about the fpc-devel mailing list