From 4d8ff563af4769d1909e981d54f957ff584148c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20Baczy=C5=84ski?= Date: Fri, 3 Sep 2010 11:58:51 -0400 Subject: [PATCH] dwarf2out.c (file scope): Remove #if0'd code. 2010-09-03 Marcin Baczynski * dwarf2out.c (file scope): Remove #if0'd code. (gen_subprogram_die): Same. From-SVN: r163831 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 15 --------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b527fe0..27e337a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-09-03 Marcin Baczynski + + * dwarf2out.c (file scope): Remove #if0'd code. + (gen_subprogram_die): Same. + 2010-09-03 Jakub Jelinek PR middle-end/45484 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 31d4413..8ae0427 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -6042,9 +6042,6 @@ static GTY ((param_is (struct vcall_insn))) htab_t vcall_insn_table; /* Record whether the function being analyzed contains inlined functions. */ static int current_function_has_inlines; -#if 0 && defined (MIPS_DEBUGGING_INFO) -static int comp_unit_has_inlines; -#endif /* The last file entry emitted by maybe_emit_file(). */ static GTY(()) struct dwarf_file_data * last_emitted_file; @@ -18960,18 +18957,6 @@ gen_subprogram_die (tree decl, dw_die_ref context_die) current_function_has_inlines = 0; decls_for_scope (outer_scope, subr_die, 0); - -#if 0 && defined (MIPS_DEBUGGING_INFO) - if (current_function_has_inlines) - { - add_AT_flag (subr_die, DW_AT_MIPS_has_inlines, 1); - if (! comp_unit_has_inlines) - { - add_AT_flag (comp_unit_die, DW_AT_MIPS_has_inlines, 1); - comp_unit_has_inlines = 1; - } - } -#endif } /* Add the calling convention attribute if requested. */ add_calling_convention_attribute (subr_die, decl); -- 2.7.4