[Bug libfortran/33985] access="stream",form="unformatted" doesn't buffer
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Dec 2 18:45:00 GMT 2007
------- Comment #25 from jvdelisle at gcc dot gnu dot org 2007-12-02 18:45 -------
Created an attachment (id=14682)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14682&action=view)
New patch, clean fix.
Answer to comment #18, Thomas, the flush is needed for streamio_12.f90 where we
use a write(10, pos=1) to reposition the file somewhere far from the current
buffer contents.
Status since comment#24. Two regressions have led me to back away and take a
different approach. I would still like to revisit the unix.c internals later.
For now, the attached patch gives the very substantial improvements in STREAM
i/o and regression tested OK on x86-64. The patch is simple and well
contained.
I will post some benchmarks shortly and submit to list for approval.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #14676|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33985
More information about the Gcc-bugs
mailing list