ia64 unwind thoughts

Jason Merrill jason@redhat.com
Fri Feb 23 18:03:00 GMT 2001


>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:

>[example]
Looks right to me.

> I don't actually know what's supposed to happen if a destructor not
> inside a cleanup throws.  I suspect it is simply considered outside
> that region, and the answer is "nothing happens".

A destructor call outside an EH cleanup is treated like any other call,
outside the scope of the object being destroyed; the // ??? in your
pre-inlining example should be 'no landing pad', and in your post-inlining
example should be 'goto R3;'.

Jason



More information about the Gcc mailing list