implementing exception handlers in a front end

Gaius Mulley gaius@glam.ac.uk
Wed Jul 9 14:31:00 GMT 2008


"Richard Guenther" <richard.guenther@gmail.com> writes:

> > to its language tree.def and gimplify this.  Before I embark on this
> > I'd like to ask whether using __builtin_longjmp/__builtin_setjmp is
> > definitely the wrong way to go?
> 
> Definitely.  You will be not able to handle/throw exceptions from other
> languages if the target ABI doesn't use sjlj exceptions (which only
> a few use).

many thanks for the reply,  yes I hadn't considered the issue of
inter-language exception handling - this makes the TRY_CATCH_EXPR route
highly attractive..

regards,
Gaius



More information about the Gcc mailing list