aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
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/optabs.c
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/optabs.c')
-rw-r--r--gcc/optabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index b93a383..992660d 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -4277,7 +4277,7 @@ init_optabs ()
sjthrow_libfunc = gen_rtx (SYMBOL_REF, Pmode, "__sjthrow");
sjpopnthrow_libfunc = gen_rtx (SYMBOL_REF, Pmode, "__sjpopnthrow");
terminate_libfunc = gen_rtx (SYMBOL_REF, Pmode, "__terminate");
-#ifdef USE_BUILTIN_SETJMP
+#ifndef DONT_USE_BUILTIN_SETJMP
setjmp_libfunc = gen_rtx (SYMBOL_REF, Pmode, "__builtin_setjmp");
longjmp_libfunc = gen_rtx (SYMBOL_REF, Pmode, "__builtin_longjmp");
#else