This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17734] New: gfortran should accept "# <line number>" cpp output
- From: "schnetter at aei dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2004 18:46:46 -0000
- Subject: [Bug fortran/17734] New: gfortran should accept "# <line number>" cpp output
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
According to the cpp manual (e.g.
http://gcc.gnu.org/onlinedocs/gcc-3.4.2/cpp/Line-Control.html), a line
consisting of
# <line number>
where <line number> is a line number, is legal cpp output. gfortran rejects
this as "unknown preprocessor token". It does accept a line like
# <line number> <file name>
It should also accept the former.
--
Summary: gfortran should accept "# <line number>" cpp output
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schnetter at aei dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17734