> Could anybody pls advise, if I can detect that given RTL `call` is
> actually a setjmp ()?
> 
> I see no references in dump...
> (call_insn 6 5 7 (set (reg:SI 0 ax)
>         (call (mem:QI (symbol_ref:DI ("_setjmp") [flags 0x41]
> <function_decl 0x7f6ede1e0000 _setjmp>) [0 _setjmp S1 A8])
>             (const_int 0 [0]))) 4.c:17 -1
>      (expr_list:REG_SETJMP (const_int 0 [0])
>         (expr_list:REG_EH_REGION (const_int 0 [0])
>             (nil)))
>     (expr_list:REG_FRAME_RELATED_EXPR (use (reg:DI 5 di))
>         (nil)))

Isn't the REG_SETJMP note sufficient for this purpose?

-- 
Eric Botcazou

Reply via email to