This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37083] Formatted read of line without trailing new-line fails (Windows; CR-LF issue?)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]