This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: forcing tail/sibling call optimization
- To: "Geert Bosch" <bosch at gnat dot com>
- Subject: Re: forcing tail/sibling call optimization
- From: Jeffrey A Law <law at redhat dot com>
- Date: Mon, 27 Nov 2000 13:07:06 -0700
- cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Reply-To: law at redhat dot com
In message <20001127173909.2975234D80@nile.gnat.com>you write:
> In order to write a GCC front-end for any language with proper
> tail-recursion, there should be a way in the tree to represent a tail call
Right. We don't have that ability right now, but I'd support adding it for
those languages which need it.
> If the GCC backend is not able to compile this on a certain architecture,
> it abandons the compilation with an error.
Right.
jeff