aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMarcin BaczyƄski <marbacz@gmail.com>2010-09-03 11:58:51 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2010-09-03 11:58:51 -0400
commit4d8ff563af4769d1909e981d54f957ff584148c1 (patch)
tree932e66a63defaf234536a16e185a36ccb5a57a23 /gcc
parent601d5a25b201fe771545c2ff06a29c63b5b25cab (diff)
downloadgcc-4d8ff563af4769d1909e981d54f957ff584148c1.zip
gcc-4d8ff563af4769d1909e981d54f957ff584148c1.tar.gz
gcc-4d8ff563af4769d1909e981d54f957ff584148c1.tar.bz2
dwarf2out.c (file scope): Remove #if0'd code.
2010-09-03 Marcin Baczynski <marbacz@gmail.com> * dwarf2out.c (file scope): Remove #if0'd code. (gen_subprogram_die): Same. From-SVN: r163831
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c15
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 <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
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);