aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1997-05-07 22:50:11 +0000
committerMike Stump <mrs@gcc.gnu.org>1997-05-07 22:50:11 +0000
commit6e6a07d29955e808fccd63ee2ca34ec217e19b5c (patch)
treecb529c4d7f439546438820c79f061fa0ec0e5666 /gcc/expr.h
parent24f2dbd6f70dd5ae6b3069f7587b3a6ba4e2211f (diff)
downloadgcc-6e6a07d29955e808fccd63ee2ca34ec217e19b5c.zip
gcc-6e6a07d29955e808fccd63ee2ca34ec217e19b5c.tar.gz
gcc-6e6a07d29955e808fccd63ee2ca34ec217e19b5c.tar.bz2
except.c (start_dynamic_handler): Fix so that we can use __builtin_setjmp...
* except.c (start_dynamic_handler): Fix so that we can use __builtin_setjmp, and default to using __builtin_setjmp instead of setjmp. * expr.c (expand_builtin_setjmp): New routine, split out from existing inline code from expand_builtin. (expand_builtin): Split out code into expand_builtin_setjmp. * expr.h (expand_builtin_setjmp): Add declaration. * libgcc2.c (__sjthrow): Default to using __builtin_setjmp instead of setjmp. (__sjpopnthrow): Likewise. * optabs.c (init_optabs): Likewise. From-SVN: r14045
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index ee954ef..bb957b7 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -685,6 +685,8 @@ extern rtx store_expr PROTO((tree, rtx, int));
Useful after calling expand_expr with 1 as sum_ok. */
extern rtx force_operand PROTO((rtx, rtx));
+extern rtx expand_builtin_setjmp PROTO((rtx, rtx));
+
#ifdef TREE_CODE
/* Generate code for computing expression EXP.
An rtx for the computed value is returned. The value is never null.