[RFC] C++ vs forced unwinding
Jason Merrill
jason@redhat.com
Tue Apr 1 21:36:00 GMT 2003
On Mon, 31 Mar 2003 18:12:29 -0800, Richard Henderson <rth@twiddle.net> wrote:
> First, some Standard C functions suddenly can throw exceptions,
> of a kind. Posix specifies a list of entry points that are
> primary and secondary thread cancellation points.
Makes sense.
> Second, functions declared throw() will still propagate forced
> unwind exceptions. If we don't represent this, the cleanups get
> deleted as unreachable.
I'm dubious about this. Can't we just say that you can't call a
cancellation point from a function declared throw()?
Jason
More information about the Gcc-patches
mailing list