dwarfout.c (last_filename): Remove.
authorKrister Walfridsson <cato@df.lth.se>
Tue, 22 Jan 2002 21:58:41 +0000 (22:58 +0100)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 22 Jan 2002 21:58:41 +0000 (13:58 -0800)
        * dwarfout.c (last_filename): Remove.
        (output_compile_unit_die): Remove last_filename.

From-SVN: r49098

gcc/ChangeLog
gcc/dwarfout.c

index a88753df6c5d6a127187fef6e7fded02929b2254..8b4869fd625024decc1be9b8675d785d325d53d7 100644 (file)
@@ -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>
 
index 0ff75f585f7492cb47f8c3b70fe7074e0ccd037e..76b5b75383b4c8f5a64136dbdf07fc75cd646360 100644 (file)
@@ -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 ();