From 0366359a3c9e47d118de9e761e3f0fe3acc510c3 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Tue, 29 Apr 2003 20:42:55 +0000 Subject: [PATCH] dwarf2out.c (output_call_frame_info): No need to output EH unwind information if all_throwers_are_sibcalls. * dwarf2out.c (output_call_frame_info): No need to output EH unwind information if all_throwers_are_sibcalls. From-SVN: r66253 --- gcc/ChangeLog | 3 +++ gcc/dwarf2out.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02111b65711..394922a6b1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-04-29 Geoffrey Keating + * dwarf2out.c (output_call_frame_info): No need to output EH + unwind information if all_throwers_are_sibcalls. + * c-semantics.c (expand_unreachable_stmt): Return a tree. (expand_stmt): Update for change to expand_unreachable_stmt. (expand_unreachable_if_stmt): Likewise. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 92b75af5688..4a7b825d621 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -1940,7 +1940,8 @@ output_call_frame_info (for_eh) for (i = 0; i < fde_table_in_use; i++) if (fde_table[i].uses_eh_lsda) any_eh_needed = any_lsda_needed = true; - else if (! fde_table[i].nothrow) + else if (! fde_table[i].nothrow + && ! fde_table[i].all_throwers_are_sibcalls) any_eh_needed = true; if (! any_eh_needed) -- 2.30.2