This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tail call optimizations
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: tail call optimizations
- From: Richard Henderson <rth at cygnus dot com>
- Date: Thu, 23 Mar 2000 14:28:15 -0800
- Cc: law at cygnus dot com, gcc-patches at gcc dot gnu dot org
- References: <14543.953774670@upchuck> <jmu2hyw01h.fsf@envy.cygnus.com>
On Thu, Mar 23, 2000 at 12:41:46AM -0800, Geoff Keating wrote:
> I was going to say that there would be _fewer_ tail calls in C++, but
> after a little thought I decided I couldn't be sure; because
> destructors may very often be tail calls.
Also consider the standard OO paradigm has you writing all sorts
of little accessor functions and such that massage a bit o data
here and there and pass off to someone else.
r~