dwarf2out.c (file scope): Remove #if0'd code.
authorMarcin Baczyński <marbacz@gmail.com>
Fri, 3 Sep 2010 15:58:51 +0000 (11:58 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 3 Sep 2010 15:58:51 +0000 (11:58 -0400)
2010-09-03  Marcin Baczynski  <marbacz@gmail.com>

* dwarf2out.c (file scope): Remove #if0'd code.
(gen_subprogram_die): Same.

From-SVN: r163831

gcc/ChangeLog
gcc/dwarf2out.c

index b527fe0..27e337a 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-03  Marcin Baczynski  <marbacz@gmail.com>
+
+       * dwarf2out.c (file scope): Remove #if0'd code.
+       (gen_subprogram_die): Same.
+
 2010-09-03  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/45484
index 31d4413..8ae0427 100644 (file)
@@ -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);