This is the mail archive of the gcc@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: Help! tail call elimination


Unfortunately, AFAIK GCC doesn't support very many tail-call
optimizations.  I believe it will do tail recursion elimination, but
that's about it. (check out flow.c I think?).  Any compiler using Compaq's
GEM backend has better support for tail-call elimination, but that's
closed source.

Casey

On Thu, 9 Mar 2000, Peter [iso-8859-1] Nenzén wrote:

> Hi we're two Swedish students. We are working on a thesis about tailcall
> elimination (sibling calls) on the sparc32 architecture. We wonder if
> anyone has done something similar or has any code that could be to some
> assistance. There's no reason in inventing the wheel again :). 
> 
> We heard that there could be a solution for other architectures than
> sparc. We also heard that it might be "easy" to make some changes to it
> in order to get it to work for sparc. Any ideas and/or suggestions would
> be greatly appreciated.
> 
> Regards,
> Peter N and Anders R
> 


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