On Sun, Jun 14, 2020 at 2:27 PM Andi Kleen via Gcc <gcc@gcc.gnu.org> wrote:
>
> sotrdg sotrdg via Gcc <gcc@gcc.gnu.org> writes:
>
> > http://open-std.org/JTC1/SC22/WG21/docs/papers/2018/p0709r0.pdf
> >
> > I really want this feature. How, it looks like this requires changes
> > on RTL, gimple and C++ front-end. Is that very hard to implement it?
>
> If you're asking about setjmp/longjmp exceptions, you can already
> configure with --enable-sjlj-exceptions and then use -fsjlj-exceptions
> to enable them.
>
> It would be a new ABI and likely break some existing libraries.

NOTE Setjmp/longjump is much much slower if exceptions are not used at
all.  Because there will be many many setjump locations.

Thanks,
Andrew Pinski

>
> -Andi

Reply via email to