This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18993] New: gfortran fails to recognise comment line.
- From: "tow21 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 18:28:53 -0000
- Subject: [Bug fortran/18993] New: gfortran fails to recognise comment line.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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