[Bug fortran/13702] New: [gfortran] When preprocessing Fortran files (.F, .F90 and .F95) cpp should emit line numbers.

toon at moene dot indiv dot nluug dot nl gcc-bugzilla@gcc.gnu.org
Thu Jan 15 19:09:00 GMT 2004


Currently, when preprocessing Fortran files, gfortran calls cpp with the -P
option, which prevents it to emit line number information.

The reason for this is that, at the moment, the Fortran front end cannot process
these directives.

However, for debugging purposes it's paramount that this infomation is emitted
by cpp and interpreted by the Fortran front end; without it, line numbers in
debugging records will refer to the lines in the preprocessed source, not the
original.

-- 
           Summary: [gfortran] When preprocessing Fortran files (.F, .F90
                    and .F95) cpp should emit line numbers.
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: toon at moene dot indiv dot nluug dot nl
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list