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/34876] Can't read/write array sections with negative stride not specified



------- Comment #10 from jvdelisle at gcc dot gnu dot org  2008-01-24 05:15 -------
Answering your question.  Putting the write in front of the failing one causes
seeking to that record, writing it out and flushing the buffers.  Writing
"grows" the file.  This creates "undefined" records from the beginning of the
file up to the record written.  With that the file actually has content and a
length. (Hard to read record 10 on a file with length zero)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34876


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