This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tail call optimizations
- To: Jason Merrill <jason at cygnus dot com>
- Subject: Re: tail call optimizations
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 23 Mar 2000 13:31:38 -0700
- cc: Geoff Keating <geoffk at cygnus dot com>, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <u9hfdxcvkp.fsf@yorick.cygnus.com>you write:
> > If so, then no tail call optimization is possible.
>
> Why not? An exception thrown out of bar would just propagate out to foo's
> caller, as if it had been thrown from foo.
>
> It doesn't matter if a call can throw; it only matters if we want to try
> to catch the exception.
OK. My general lack of knowledge about EH is showing :-)
jeff