This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: catch(...) and forced unwind
- From: Richard Henderson <rth at redhat dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc at gcc dot gnu dot org, mark at codesourcery dot com, drepper at redhat dot com, jakub at redhat dot com, ncm at cantrip dot org, dave at boost-consulting dot com, wekempf at cox dot net, fjh at cs dot mu dot oz dot au
- Date: Mon, 15 Dec 2003 14:21:43 -0800
- Subject: Re: catch(...) and forced unwind
- References: <xypwu91ofvf.fsf@miranda.boston.redhat.com> <20031212183754.13f4864b.bkoz@redhat.com>
On Fri, Dec 12, 2003 at 06:37:54PM -0600, Benjamin Kosnik wrote:
> Then people could use __set_cancellation above with these new functions:
[...]
> void __rethrow_cancellation() { __throw_exception_again; }
This one doesn't work, for the reason that Jason gave earlier:
we've already committed to deleting the exception. If we want
to rethrow, then we have to hook into __cxa_end_catch.
r~