From patchwork Fri Sep 3 15:19:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Remove old #if 0-ed code Date: Fri, 03 Sep 2010 05:19:08 -0000 From: =?utf-8?q?Marcin_Baczy=C5=84ski?= X-Patchwork-Id: 63692 Message-Id: To: gcc-patches@gcc.gnu.org Cc: Diego Novillo W dniu 3 września 2010 17:05 użytkownik Diego Novillo napisał: > On Sun, Aug 22, 2010 at 07:20, Marcin Baczyński wrote: >> This code was #if 0-ed over 12 years ago. >> >> 2010-08-22  Marcin Baczynski   >> >>        * dwarf2out.c (file scope): Remove garbage. >>        (gen_subprogram_die): Same. > > s/garbage/#if0'd code/ > > OK with that change. > > > Diego. > Fixed. Can someone commit this? I don't have SVN write access. Thanks. 2010-09-03 Marcin Baczynski * dwarf2out.c (file scope): Remove #if0'd code. (gen_subprogram_die): Same. Index: gcc/dwarf2out.c =================================================================== --- gcc/dwarf2out.c (wersja 163449) +++ gcc/dwarf2out.c (kopia robocza) @@ -6043,9 +6043,6 @@ static GTY ((param_is (struct vcall_insn /* 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_re 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);