]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
dwarf2out.c (dwarf2out_define): Remove start_source_file call, CPP will start the...
authorDaniel Berlin <dberlin@dberlin.org>
Sun, 31 Mar 2002 00:36:47 +0000 (00:36 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Sun, 31 Mar 2002 00:36:47 +0000 (00:36 +0000)
2002-03-30  Daniel Berlin  <dan@dberlin.org>

* dwarf2out.c (dwarf2out_define): Remove start_source_file call,
CPP will start the file for us.

From-SVN: r51621

gcc/ChangeLog
gcc/dwarf2out.c

index 21c516c59ddf86b07c549b40f72712b109b6b4af..be40f66a45c75c7717b09c4e9603bc556d421f5a 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-30  Daniel Berlin  <dan@dberlin.org>
+
+       * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
+       CPP will start the file for us.
 2002-03-30  Richard Henderson  <rth@redhat.com>
 
        PR target/5446
index 3528bc8ed21920763d82ef0a461219065efb6c01..5a00bf4fcf4b8171ac99ce6ce748a834cb00dc1c 100644 (file)
@@ -11947,13 +11947,6 @@ dwarf2out_define (lineno, buffer)
      unsigned lineno ATTRIBUTE_UNUSED;
      const char *buffer ATTRIBUTE_UNUSED;
 {
-  static int initialized = 0;
-  if (!initialized)
-    {
-      dwarf2out_start_source_file (0, primary_filename);
-      initialized = 1;
-    }
-
   if (debug_info_level >= DINFO_LEVEL_VERBOSE)
     {
       named_section_flags (DEBUG_MACINFO_SECTION, SECTION_DEBUG);