[Bug libfortran/30162] [4.7/4.8 Regression] Unformatted sequential I/O with named pipes does not work

jb at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 21 20:40:00 GMT 2013


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

--- Comment #54 from Janne Blomqvist <jb at gcc dot gnu.org> 2013-02-21 20:39:58 UTC ---
I'd suggest to close the unformatted sequential part of this PR as WONTFIX.
Maybe it worked sometime in the past for small record sizes when buffered IO
was used for pipes, but that was by accident not by design. I think re-enabling
buffering for pipes would open up a can of worms for very little benefit.

A way to "properly" enable this would be to rework the IO library so that we
know how much we're writing before writing the initial record marker (so that
we don't need to seek back and fill in the correct value later), however that
implies a rather major rework of how we do IO, so IMHO the benefit is not worth
it.



More information about the Gcc-bugs mailing list