proper tail recursion for gcc

Mark Probst schani@mips.complang.tuwien.ac.at
Thu Jul 20 03:20:00 GMT 2000


On Wed, Jul 19, 2000 at 11:06:08PM -0700, Geoff Keating wrote:
> > i want to implement proper tail recursion for a much broader set of
> > cases than is currently implemented.
> ...
> 
> I think you'll find this has already been done in the development gcc.
> It's the 'sibling call' optimisation.

i was referring to exactly this optimization. at least on the alpha,
for example, only calls to static functions are optimized, which is
not very helpful if you need separate compilation.

bye
schani

-- 
Mark Probst
Student, Programmer
http://www.complang.tuwien.ac.at/~schani/


More information about the Gcc mailing list