From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Mark Probst Cc: Geoff Keating , gcc@gcc.gnu.org Subject: Re: proper tail recursion for gcc Date: Thu, 20 Jul 2000 07:12:00 -0000 Message-id: References: <20000720020357.M3827@vader.unix.cslab.tuwien.ac.at> <20000720112151.O3827@vader.unix.cslab.tuwien.ac.at> X-SW-Source: 2000-07/msg00616.html On Jul 20, 2000, Mark Probst wrote: > On Wed, Jul 19, 2000 at 11:06:08PM -0700, Geoff Keating wrote: >> I think you'll find this has already been done in the development gcc. >> It's the 'sibling call' optimisation. > only calls to static functions are optimized Non-static functions may be overridden if the object file is used to create a library and a program linked with the library defines the same symbol. -- 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