catch(...) and forced unwind

Jason Merrill jason@redhat.com
Sat Dec 13 08:28:00 GMT 2003


On Fri, 12 Dec 2003 18:37:54 -0600, Benjamin Kosnik <bkoz@redhat.com> wrote:

>>I see three ways to fix this:
>>
>>1) automatically rethrow cancellation.
>>2) explicitly rethrow cancellation--this would require some way to catch it
>>   specifically, but we really ought to have that anyway.
>
> What about 
>[...]
> Ie, a __cancellation_handler that could be set to either rethrow,
> continue, or abort?

That seems plausible to me.  I think that #2 would still be appropriate.

Jason



More information about the Gcc mailing list