This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: proper tail recursion for gcc
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: proper tail recursion for gcc
- From: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>
- Date: Thu, 20 Jul 2000 16:18:43 +0200
- cc: Mark Probst <schani at mips dot complang dot tuwien dot ac dot at>, Geoff Keating <geoffk at cygnus dot com>, gcc at gcc dot gnu dot org
aoliva@redhat.com said:
>> 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.
Then, may be an attribute never_overriden (or something similar) could
be of some help here ???
On the other hand, that's certainly dangerous....
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------