summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorzippel <zippel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-07 16:46:23 +0000
committerzippel <zippel@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-07 16:46:23 +0000
commitc6290e1bdd67671aff86839e0bf745b64321a0bc (patch)
tree341f78f63c5c8a8cca70354c3fe2ccdc86964074 /gcc/except.c
parent4e6322c5d9bd7cfc57385d871d958414cf4f042b (diff)
downloadgcc-c6290e1bdd67671aff86839e0bf745b64321a0bc.tar.gz
* function.h (struct function): Rename calls_unwind_init
to saves_all_registers. (current_function_saves_all_registers): Renamed from current_function_calls_unwind_init. * reload1.c (reload): Set current_function_saves_all_registers. * except.c (expand_builtin_unwind_init): Likewise. * config/m68k/m68k.c (m68k_save_reg): Use current_function_saves_all_registers to save pic register. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128248 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 02131eeb0fe..f3204eb863a 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2867,7 +2867,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_calls_unwind_init = 1;
+ current_function_saves_all_registers = 1;
#ifdef SETUP_FRAME_ADDRESSES
SETUP_FRAME_ADDRESSES ();