This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37083] New: See Bug 33400 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33400)
- From: "tibor at atlas dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2008 19:51:52 -0000
- Subject: [Bug fortran/37083] New: See Bug 33400 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33400)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
It seems that bug 33400 is not fixed in mingw32 version of gfortran (winXP):
Missplaced END-OF-FILE when reading file without a line terminator on
the last line, e.g.
REAL :: a, b, c
OPEN(UNIT=10,FILE='input')
READ(10,*) a, b, c
PRINT*, a*b*c
END
(file 'input' created with notepad -- without line break after last line)
IF file 'input' doesnt contain line terminator on
the last line, program crashes with:
At line 3 of file nt.f90 (unit = 10, file = 'input')
Fortran runtime error: End of file
--
Summary: See Bug 33400
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33400)
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tibor at atlas dot cz
GCC build triplet: i586-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37083