This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36342] [4.4 Regression] Missing file name in compilation diagnostics of preprocessed fortran source
- 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: 17 Jul 2008 13:30:49 -0000
- Subject: [Bug fortran/36342] [4.4 Regression] Missing file name in compilation diagnostics of preprocessed fortran source
- References: <bug-36342-10601@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from burnus at gcc dot gnu dot org 2008-07-17 13:30 -------
The problem seems to be this code in scanner.c's gfc_new_file:
if (gfc_cpp_enabled ())
{
result = gfc_cpp_preprocess (gfc_source_file);
if (!gfc_cpp_preprocess_only ())
result = load_file (gfc_cpp_temporary_file (), true);
}
else
result = load_file (gfc_source_file, true);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36342