This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24398] New: gfortran tries to parse a comment in a module
- From: "denney at seas dot upenn dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Oct 2005 01:14:08 -0000
- Subject: [Bug fortran/24398] New: gfortran tries to parse a comment in a module
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When I try to build a program that uses a module that I created with a comment
on the third line, it tries to interpret the comment and gives the error:
$ gfortran llnew.f90 -o llnew
Fatal Error: Reading module numberlists at line 3 column 4: Bad name
Line 3 should be just a comment. I'm attaching the llnew.f90 code and the
numberlists.mod files.
This occurs on Debian testing with the current version. In the current version
that is built for windows (GNU Fortran 95 (GCC 4.1.0 20050902 (experimental))),
it gives an ICE:
Fatal Error: Reading module number_lists at line 3 column 4: Bad name
gfortran: Internal error: Aborted (program f951)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: gfortran tries to parse a comment in a module
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: denney at seas dot upenn dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24398