diff options
author | Richard Henderson <rth@redhat.com> | 2001-09-21 13:26:44 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-09-21 13:26:44 -0700 |
commit | 9defc9b7ac96fd51c70aff0e452c753d1f6159b3 (patch) | |
tree | 5e65f35e37a55bf10f429b4ed3add9916578e469 /gcc/except.c | |
parent | 1853547e03a18cc73a2ba3e204408919e326831a (diff) | |
download | gcc-9defc9b7ac96fd51c70aff0e452c753d1f6159b3.zip gcc-9defc9b7ac96fd51c70aff0e452c753d1f6159b3.tar.gz gcc-9defc9b7ac96fd51c70aff0e452c753d1f6159b3.tar.bz2 |
rtl.h (LCT_RETURNS_TWICE): New.
* rtl.h (LCT_RETURNS_TWICE): New.
* calls.c (emit_call_1): Set current_function_calls_setjmp for
ECF_RETURNS_TWICE.
(emit_library_call_value_1): Map LCT_RETURNS_TWICE
to ECF_RETURNS_TWICE.
* except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
call to setjmp.
* unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
* config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
(JMP_BUF_SIZE): New.
From-SVN: r45736
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c index 0f0b662..4448610 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2144,7 +2144,7 @@ sjlj_emit_function_enter (dispatch_label) #ifdef DONT_USE_BUILTIN_SETJMP { rtx x, note; - x = emit_library_call_value (setjmp_libfunc, NULL_RTX, LCT_NORMAL, + x = emit_library_call_value (setjmp_libfunc, NULL_RTX, LCT_RETURNS_TWICE, TYPE_MODE (integer_type_node), 1, plus_constant (XEXP (fc, 0), sjlj_fc_jbuf_ofs), Pmode); |