summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-22 21:58:41 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-22 21:58:41 +0000
commitbd8617890576e2e89ac5076e6a02bc97d7a3e705 (patch)
tree1ae7c295599d4aa6c6a966dc3121f7e60c47c8c5
parent2026f127f449b499f148fcdfc6ce049bfe69fc56 (diff)
downloadppe42-gcc-bd8617890576e2e89ac5076e6a02bc97d7a3e705.tar.gz
ppe42-gcc-bd8617890576e2e89ac5076e6a02bc97d7a3e705.zip
* dwarfout.c (last_filename): Remove.
(output_compile_unit_die): Remove last_filename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49098 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/dwarfout.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a88753df6c5..8b4869fd625 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -2,6 +2,9 @@
* dependence.c (build_def_use): Remove array_idx.
+ * dwarfout.c (last_filename): Remove.
+ (output_compile_unit_die): Remove last_filename.
+
2002-01-22 Roger Sayle <roger@eyesopen.com>
Richard Henderson <rth@redhat.com>
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c
index 0ff75f585f7..76b5b75383b 100644
--- a/gcc/dwarfout.c
+++ b/gcc/dwarfout.c
@@ -671,10 +671,6 @@ static unsigned ft_entries;
static const char *primary_filename;
-/* Pointer to the most recent filename for which we produced some line info. */
-
-static const char *last_filename;
-
/* Counter to generate unique names for DIEs. */
static unsigned next_unused_dienum = 1;
@@ -4164,7 +4160,6 @@ output_compile_unit_die (arg)
high_pc_attribute (TEXT_END_LABEL);
if (debug_info_level >= DINFO_LEVEL_NORMAL)
stmt_list_attribute (LINE_BEGIN_LABEL);
- last_filename = xstrdup (main_input_filename);
{
const char *wd = getpwd ();
OpenPOWER on IntegriCloud