This is the mail archive of the
mailing list for the GCC project.
Re: [basic-improvements] try/finally support for c/c++
> I don't see how one could enter a try block via longjmp.
So, you can't enter or leave a try/finally block with longjmp.
> Something I just thought of here is GCC's computed goto extension.
> I don't know if the middle-end cleanup code handles this properly.
> We should have a test in the testsuite for this.
Jason, in his blurb, mentioned that leaving try/f via computed gotos
would be undefined.