This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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.

Aldy


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