[Bug fortran/37129] Problems with access='direct', recl=1 I/O

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 15 16:54:00 GMT 2008



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



More information about the Gcc-bugs mailing list