------- Comment #5 from burnus at gcc dot gnu dot org  2008-06-14 16:48 -------
I diffed 4.2 and 4.3 and found that the following patch "fixes" the problem,
though I do not quite understand why and how to properly fix it.

--- scanner.c   (revision 136782)
+++ scanner.c   (working copy)
@@ -1645,8 +1645,6 @@ preprocessor_line (gfc_char_t *c)

       add_file_change (NULL, line);
       current_file = current_file->up;
-      linemap_add (line_table, LC_RENAME, false, current_file->filename,
-                  current_file->line);
     }

   /* The name of the file can be a temporary file produced by


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36276

Reply via email to