This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: proper tail recursion for gcc
On Jul 20, 2000, Mark Probst <schani@mips.complang.tuwien.ac.at> 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