From bcc1d055c6081d3ff73e8d4c43e4fbdb8f8b2886 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Tue, 7 Oct 2014 18:06:17 +0000 Subject: [PATCH] dwarf2out.c: Remove current_function_has_inlines. * dwarf2out.c: Remove current_function_has_inlines. (gen_subprogram_die): Same. (gen_inlined_subroutine_die): Same. From-SVN: r215980 --- gcc/ChangeLog | 6 ++++++ gcc/dwarf2out.c | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 804cfb90991..e3fe7ed15c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-10-07 Aldy Hernandez + + * dwarf2out.c: Remove current_function_has_inlines. + (gen_subprogram_die): Same. + (gen_inlined_subroutine_die): Same. + 2014-10-07 Ilya Tocar * config/i386/adxintrin.h (_subborrow_u64): Use long long for param diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 59c05edd893..66cdc961cb3 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -2954,9 +2954,6 @@ static GTY(()) unsigned int loclabel_num; /* Unique label counter for point-of-call tables. */ static GTY(()) unsigned int poc_label_num; -/* Record whether the function being analyzed contains inlined functions. */ -static int current_function_has_inlines; - /* The last file entry emitted by maybe_emit_file(). */ static GTY(()) struct dwarf_file_data * last_emitted_file; @@ -18626,7 +18623,6 @@ gen_subprogram_die (tree decl, dw_die_ref context_die) if (DECL_NAME (DECL_RESULT (decl))) gen_decl_die (DECL_RESULT (decl), NULL, subr_die); - current_function_has_inlines = 0; decls_for_scope (outer_scope, subr_die, 0); if (call_arg_locations && !dwarf_strict) @@ -19283,7 +19279,6 @@ gen_inlined_subroutine_die (tree stmt, dw_die_ref context_die, int depth) add_call_src_coords_attributes (stmt, subr_die); decls_for_scope (stmt, subr_die, depth); - current_function_has_inlines = 1; } } -- 2.30.2