From 177858580b6dc2bd20fd3fc6689c5c4aa2e2d488 Mon Sep 17 00:00:00 2001 From: mrs Date: Wed, 7 May 1997 22:50:11 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14045 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/expr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/expr.h') diff --git a/gcc/expr.h b/gcc/expr.h index ee954ef43b7..bb957b75f12 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. -- cgit v1.2.1