aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-08-12 07:44:42 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-08-12 07:44:42 -0400
commit32ccb0aca0b9af986d0f0a87f347eccde8bf1c48 (patch)
tree610de2e1f913a5b91ccf95a9b88ea259670fee81 /gcc
parenta3a58acc2732e38715f70e5190bd56178beb0b0e (diff)
downloadgcc-32ccb0aca0b9af986d0f0a87f347eccde8bf1c48.zip
gcc-32ccb0aca0b9af986d0f0a87f347eccde8bf1c48.tar.gz
gcc-32ccb0aca0b9af986d0f0a87f347eccde8bf1c48.tar.bz2
(expand_builtin, case BUILT_IN_SETJMP): Add test and call for
nonlocal_goto_receiver pattern. From-SVN: r12621
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 7905fa9..d79546e 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -8894,6 +8894,10 @@ expand_builtin (exp, target, subtarget, mode, ignore)
}
#endif
+#ifdef HAVE_nonlocal_goto_receiver
+ if (HAVE_nonlocal_goto_receiver)
+ emit_insn (gen_nonlocal_goto_receiver ());
+#endif
/* The static chain pointer contains the address of dummy function.
We need to call it here to handle some PIC cases of restoring
a global pointer. Then return 1. */