This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13702] New: [gfortran] When preprocessing Fortran files (.F, .F90 and .F95) cpp should emit line numbers.
- From: "toon at moene dot indiv dot nluug dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2004 19:09:02 -0000
- Subject: [Bug fortran/13702] New: [gfortran] When preprocessing Fortran files (.F, .F90 and .F95) cpp should emit line numbers.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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