This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37129] Problems with access='direct', recl=1 I/O
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2008 16:53:27 -0000
- Subject: [Bug fortran/37129] Problems with access='direct', recl=1 I/O
- References: <bug-37129-16600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2008-08-15 16:53 -------
(In reply to comment #0)
> It appears that gfortran does not interpret recl=1 the way many historic
> compilers, including g77, did. So, this bug report is to request that recl=1
> be interpreted to mean that the compiler should use the I/O list to determine
> how many items to read or write as g77 apparently did.
I suspect that gfortran intreprets recl=1 in your open statement
according to the words of the Fortran Standard. If my reading
of 9.4.5.12 is correct (which can be incorrect), then it appears
the code is nonconforming Fortran and it is a bug in the code
not gfortran.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37129