summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-25 05:21:11 +0000
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-25 05:21:11 +0000
commit043964831d9d0819bda7811ab8acc53408c9ebb7 (patch)
tree3380fca11b3c1b6f649fb9a54c3af4eb23ad8090 /gcc/toplev.c
parent3e5d979595c5dd72ad98fdffb3deae78547b939b (diff)
downloadgcc-043964831d9d0819bda7811ab8acc53408c9ebb7.tar.gz
2002-08-24 Stuart Hastings <stuart@apple.com>
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56561 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index aec618f178c..24e3f6a5183 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2506,7 +2506,7 @@ rest_of_compilation (decl)
free_bb_for_insn ();
}
- current_function_nothrow = nothrow_function_p ();
+ set_nothrow_function_flags ();
if (current_function_nothrow)
/* Now we know that this can't throw; set the flag for the benefit
of other functions later in this translation unit. */
@@ -3528,7 +3528,7 @@ rest_of_compilation (decl)
shorten_branches (get_insns ());
timevar_pop (TV_SHORTEN_BRANCH);
- current_function_nothrow = nothrow_function_p ();
+ set_nothrow_function_flags ();
if (current_function_nothrow)
/* Now we know that this can't throw; set the flag for the benefit
of other functions later in this translation unit. */