This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: tail recursion
- To: Nils Goesche <cartan at t-online dot de>
- Subject: Re: tail recursion
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 Sep 2000 03:35:56 -0300
- Cc: bug-gcc at gnu dot org
- Organization: GCC Team, Red Hat
- References: <200009072319.BAA00658@darkstar.cartan>
On Sep 7, 2000, Nils Goesche <cartan@t-online.de> wrote:
>> From the egcs documentation I got the impression that tail recursion
> is recognized. I vaguely recall that I tested this sometime ago, and
> it worked. But in the following little program, neither print_words()
> nor free_words() are recognized. I don't know if this a bug in your
> eyes, but it is one in mine :-)
Please try the latest development snapshot. Optimization of
tail-recursion and tail-calls in general has improved a lot.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me