This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: proper tail recursion for gcc
- To: Mark Probst <schani at mips dot complang dot tuwien dot ac dot at>
- Subject: Re: proper tail recursion for gcc
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: 19 Jul 2000 23:06:08 -0700
- CC: gcc at gcc dot gnu dot org
- References: <20000720020357.M3827@vader.unix.cslab.tuwien.ac.at>
Mark Probst <schani@mips.complang.tuwien.ac.at> writes:
> 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.
--
- Geoffrey Keating <geoffk@cygnus.com>