This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36276] [4.3/4.4 Regression] possible issue with opening fortran files?
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2008 16:48:11 -0000
- Subject: [Bug fortran/36276] [4.3/4.4 Regression] possible issue with opening fortran files?
- References: <bug-36276-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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