------- Comment #2 from huwaldtj at saic dot com 2008-08-15 16:58 ------- (In reply to comment #1)
Is there a Fortran 77 compatible work-around that will do what this program was doing (i.e.: write out a mixed set of 4 byte integers and 8 byte floats to a binary file with a specific format since that file will be read by another program that we do not control)? Joe > (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