This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ia64 unwind thoughts


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]