This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tail recursion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]