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/17734] New: gfortran should accept "# <line number>" cpp output


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


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