From ba716ac9252b1a97585420a02c4f3172902e4dd3 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Fri, 20 Nov 1998 07:37:42 +0000 Subject: function.c (nonlocal_goto_handler_slots): Renamed from nonlocal_goto_handler_slot; now an EXPR_LIST chain. * function.c (nonlocal_goto_handler_slots): Renamed from nonlocal_goto_handler_slot; now an EXPR_LIST chain. (push_function_context_to): Adjust for this change. (pop_function_context_from): Likewise. (init_function_start): Likewise. (expand_function_end): Likewise. * function.h (struct function): Likewise. * calls.c (expand_call): Likewise. * explow.c (allocate_dynamic_stack_space): Likewise. * expr.h (nonlocal_goto_handler_slots): Rename its declaration. * stmt.c (declare_nonlocal_label): Make a new handler slot for each label. (expand_goto): When doing a nonlocal goto, find corresponding handler slot for it. Don't put the label address in the static chain register. (expand_end_bindings): Break out nonlocal goto handling code into three new functions. (expand_nl_handler_label, expand_nl_goto_receiver, expand_nl_goto_receivers): New static functions, broken out of expand_end_bindings and adapted to create one handler per nonlocal label. * function.c (delete_handlers): Delete insn if it references any of the nonlocal goto handler slots. * i960.md (nonlocal_goto): Comment out code that modifies static_chain_rtx. * sparc.md (nonlocal_goto): Likewise. (goto_handler_and_restore_v9): Comment out. (goto_handler_and_restore_v9_sp64): Comment out. From-SVN: r23732 --- gcc/explow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/explow.c') diff --git a/gcc/explow.c b/gcc/explow.c index 0dbf002..e4ef27d 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -1303,7 +1303,7 @@ allocate_dynamic_stack_space (size, target, known_align) #endif /* Record the new stack level for nonlocal gotos. */ - if (nonlocal_goto_handler_slot != 0) + if (nonlocal_goto_handler_slots != 0) emit_stack_save (SAVE_NONLOCAL, &nonlocal_goto_stack_level, NULL_RTX); return target; -- cgit v1.1