summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-21 10:58:29 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-21 10:58:29 +0000
commit29f0970542b79ab13a96e65df777c69c48e867e0 (patch)
tree285b968663b9075e8e13ac5ead7cb3afd6a842d9 /gcc/except.c
parent86bb962704b226c94bfeaf960edecdf73ca23110 (diff)
downloadgcc-29f0970542b79ab13a96e65df777c69c48e867e0.tar.gz
* builtins.c (expand_builtin_setjmp_setup): Update comment.
* function.h (struct function): Move va_list_gpr_size, va_list_fpr_size, function_frequency to front of bitfields. Add calls_unwind_init. (current_function_calls_unwind_init): New. * except.c (expand_builtin_unwind_init): Set current_function_calls_unwind_init not current_function_has_nonlocal_label. * reload1.c (has_nonexceptional_receiver): New. (reload): Use it and current_function_calls_unwind_init to determine whether call-saved regs must be saved. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124898 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 832d9eae2a9..29a28d71546 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2859,7 +2859,7 @@ expand_builtin_unwind_init (void)
{
/* 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;
+ current_function_calls_unwind_init = 1;
#ifdef SETUP_FRAME_ADDRESSES
SETUP_FRAME_ADDRESSES ();