[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 7 15:03:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Richard Biener from comment #4)
> Ah, those are the builtins used for SJLJ and they get lowered to
> setjmp_setup,dispatcher and longjmp.
> 
> Don't use __builtin_setjmp as I said, use setjmp.
> 
> I suppose these shouldn't have been made callable by user code?  Eric?

There are a few run-time testcases in gcc/testsuite, which
indicates that they work in user code and may have some
limitations.



More information about the Gcc-bugs mailing list