------- 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