diff mbox

Remove old #if 0-ed code

Message ID 8739u6lwr1.fsf@gmail.com
State New
Headers show

Commit Message

Marcin Baczyński Aug. 22, 2010, 11:20 a.m. UTC
This code was #if 0-ed over 12 years ago.

2010-08-22  Marcin Baczynski  <marbacz@gmail.com>

	* dwarf2out.c (file scope): Remove garbage.
	(gen_subprogram_die): Same.

Comments

Diego Novillo Sept. 3, 2010, 3:05 p.m. UTC | #1
On Sun, Aug 22, 2010 at 07:20, Marcin Baczyński <marbacz@gmail.com> wrote:
> This code was #if 0-ed over 12 years ago.
>
> 2010-08-22  Marcin Baczynski  <marbacz@gmail.com>
>
>        * dwarf2out.c (file scope): Remove garbage.
>        (gen_subprogram_die): Same.

s/garbage/#if0'd code/

OK with that change.


Diego.
diff mbox

Patch

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);