This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34324] New: Module files on CRLF systems
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2007 08:55:42 -0000
- Subject: [Bug fortran/34324] New: Module files on CRLF systems
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Someone reported a problem with the Windows binaries that is related to how we
deal with CRLF-formatted module files. This issue can be reproduced on non-CRLF
systems by the following:
$ cat a.f90
module foo
end module foo
$ gfortran -c a.f90
$ cat b.f90
use foo
end
$ gfortran -c b.f90
$ unix2dos foo.mod
$ gfortran -c b.f90
Fatal Error: Reading module foo at line 3 column 2: Bad name
--
Summary: Module files on CRLF systems
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34324