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

Reply via email to