From b6128b8c319487d4ecb240a211c0af9f6a4c2659 Mon Sep 17 00:00:00 2001 From: Stuart Hastings Date: Sun, 25 Aug 2002 05:21:11 +0000 Subject: function.h (struct function): Add flag all_throwers_are_sibcalls. 2002-08-24 Stuart Hastings * function.h (struct function): Add flag all_throwers_are_sibcalls. * except.c (set_nothrow_function_flags): Replaces nothrow_function_p. Set new flag. * except.h (set_nothrow_function_flags): Replaces nothrow_function_p. * dwarf2out.c (struct dw_fde_struct): Add flag all_throwers_are_sibcalls. (output_call_frame_info): Test it. (dwarf2out_begin_prologue) Propagate it from cfun to dw_fde_struct. * toplev.c (rest_of_compilation): Update calls to nothrow_function_p. From-SVN: r56561 --- gcc/except.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/except.h') diff --git a/gcc/except.h b/gcc/except.h index ce91051..034ce51 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -91,8 +91,8 @@ extern void for_each_eh_label PARAMS ((void (*) (rtx))); extern bool can_throw_internal PARAMS ((rtx)); extern bool can_throw_external PARAMS ((rtx)); -/* Return nonzero if nothing in this function can throw. */ -extern bool nothrow_function_p PARAMS ((void)); +/* Set current_function_nothrow and cfun->all_throwers_are_sibcalls. */ +extern void set_nothrow_function_flags PARAMS ((void)); /* After initial rtl generation, call back to finish generating exception support code. */ -- cgit v1.1