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/13702] New: [gfortran] When preprocessing Fortran files (.F, .F90 and .F95) cpp should emit line numbers.


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


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