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: [PATCH] Fix unsafe function attributes for special functions (PR 71876)


On Wed, Jul 20, 2016 at 1:02 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Very few targets continue to use SJLJ eh (perhaps just cygwin/mingw).
>> *But* I think the Ada front-end explicitly uses SJLJ EH, so if you want
>> to get some smoke testing, the Ada testsuite is probably the place to go.
>
> Right, the Ada front-end uses an EH scheme directly based on __builtin_setjmp
> (which is similar but distinct from the regular SJLJ EH because the front-end
> directly manages the SJLJ buffers) for internal EH.  Note that it's on the
> host only, for the target it uses the same EH scheme as C++/Java/etc.
>

libcilkrts/include/internal/abi.h:#   define CILK_SETJMP(X) __builtin_setjmp(X)



-- 
H.J.


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