This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: A latent IO bug


On Tue, Nov 21, 2006 at 08:35:05PM -0800, Jerry DeLisle wrote:
> The F95 standard in section 9.4.4.4.1 says:
> 
> "If the file is connected for unformatted sequential access, the record is 
> created with a length sufficient to hold the values from the output list. 
> This length shall be one of the set of allowed record lengths for the file 
> and shall not exceed the value specified in the RECL= specifier, if any, of 
> the OPEN statement that established the connection."
> 
> Currently, gfortran is ignoring the RECL= specifier in the OPEN statement, 
> if any, when writing.  I discovered this while testing Thomas subrecord 
> patch when comparing with Ifort.  Ifort gives the appropriate error.
> 
> I have a fix for this figured out. Shall I fix this now or combine it with 
> Thomas patch?
> 

It looks like an independent bug, so I would suggest
fixing it now.  You can then apply the patch to 4.2
and perhaps 4.1.  We can't apply Thomas' patch to 4.1.
Hopefully, we can get some testing done in time for
4.2.

-- 
Steve


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