This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/24965] Wrong file name in error message



------- Comment #4 from jvdelisle at gcc dot gnu dot org  2007-06-03 03:27 -------
The Comment #3 example is not the same as the original report.  The attached
example is already preprocessed source with file name information embedded in
lines beginning with '#'

This is handled in scanner.c.  The filenames are being extracted properly in
the function preprocessor_line().  The filename information is not getting into
the scanners gfc_line and gfc_file structures correctly.  I would guess it
needs to fixed around about line 1492 of scanner.c.  Looks like we are just not
doing anything with it.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]