diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2014-10-07 18:06:17 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2014-10-07 18:06:17 +0000 |
commit | bcc1d055c6081d3ff73e8d4c43e4fbdb8f8b2886 (patch) | |
tree | add34f5424e37cc7e474554f5f78b93521c1a225 /gcc/dwarf2out.c | |
parent | 0382aaa033235ef268e234700355434690993c29 (diff) | |
download | gcc-bcc1d055c6081d3ff73e8d4c43e4fbdb8f8b2886.zip gcc-bcc1d055c6081d3ff73e8d4c43e4fbdb8f8b2886.tar.gz gcc-bcc1d055c6081d3ff73e8d4c43e4fbdb8f8b2886.tar.bz2 |
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 59c05ed..66cdc96 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; } } |