summaryrefslogtreecommitdiffstats
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-06 03:09:49 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-06 03:09:49 +0000
commit80ab81b9a6d3dda5f7a25702343e29db8cce1965 (patch)
treedbe5ba571969039905ee3f540c54efd6416f2dea /gcc/builtins.c
parent4e9604c82bcbbdb85a93d5a7a9c6425efa133b5f (diff)
downloadppe42-gcc-80ab81b9a6d3dda5f7a25702343e29db8cce1965.tar.gz
ppe42-gcc-80ab81b9a6d3dda5f7a25702343e29db8cce1965.zip
* builtins.c (expand_builtin_setjmp_setup): Set
current_function_has_nonlocal_label. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38060 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index d6fa5bb1f0b..cbf9acd55de 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -511,6 +511,10 @@ expand_builtin_setjmp_setup (buf_addr, receiver_label)
/* Tell optimize_save_area_alloca that extra work is going to
need to go on during alloca. */
current_function_calls_setjmp = 1;
+
+ /* Set this so all the registers get saved in our frame; we need to be
+ able to copy the saved values for any registers from frames we unwind. */
+ current_function_has_nonlocal_label = 1;
}
/* Construct the trailing part of a __builtin_setjmp call.
OpenPOWER on IntegriCloud