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/18993] New: gfortran fails to recognise comment line.


With the attached code, gfortran fails to understand that the second comment 
is a comment, and complains about an unclassified statement. 
 
parabrisas% gfortran -c bug5.F  
 In file bug5.F:5 
 
C Set default sizes for order N arrays                                          
1 
Error: Non-numeric character in statement label at (1) 
 In file bug5.F:5 
 
C Set default sizes for order N arrays                                          
1 
Error: Unclassifiable statement at (1) 
 
parabrisas% cat bug5.F 
      subroutine ordern( ) 
      real, pointer :: aux(:,:) 
C Nullify pointers 
        nullify(aux) 
C Set default sizes for order N arrays 
      end subroutine ordern

-- 
           Summary: gfortran fails to recognise comment line.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tow21 at cam dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org


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


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