This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37083] Formatted read of line without trailing new-line fails (Windows; CR-LF issue?)
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2008 19:03:52 -0000
- Subject: [Bug fortran/37083] Formatted read of line without trailing new-line fails (Windows; CR-LF issue?)
- References: <bug-37083-16582@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-08-17 19:03 -------
This is not platform specific.
g77 runs this test case without error. gfortran is attempting to read a
default formatted width and when it attempts to read the next character after
the last digit of the third line it does hit the EOF.
For the input file i used:
1.2
2.3
3.4
Since the End-Of_Record marker is missing, I am not sure what is valid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37083