diff options
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 68677b5..8daf963 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -446,6 +446,7 @@ expand_builtin_setjmp (buf_addr, target, first_label, next_label) calls may traverse the arc back to this label. */ current_function_has_nonlocal_label = 1; + current_function_calls_setjmp = 1; nonlocal_goto_handler_labels = gen_rtx_EXPR_LIST (VOIDmode, lab1, nonlocal_goto_handler_labels); @@ -547,6 +548,8 @@ expand_builtin_longjmp (buf_addr, value) if (value != const1_rtx) abort (); + current_function_calls_longjmp = 1; + #ifdef HAVE_builtin_longjmp if (HAVE_builtin_longjmp) emit_insn (gen_builtin_longjmp (buf_addr)); |