This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/34328] access="stream",form="formatted" doesn't buffer
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Dec 2007 02:36:03 -0000
- Subject: [Bug libfortran/34328] access="stream",form="formatted" doesn't buffer
- References: <bug-34328-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-12-04 02:36 -------
I am not seeing this here:
$ strace -e write,read,_llseek ./a.out
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00004\1\0\0\0\0\0"...,
832) = 832
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`>\240\f7\0\0\0"...,
832) = 832
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\'\0\0\0\0\0\0"...,
832) = 832
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\333a\f7\0\0\0"...,
832) = 832
write(3, "a\na\na\na\na\na\na\na\na\na\na\na\na\na\na\na\n"..., 200) = 200
This is with current trunk. I got rid of the extra flush when I committed the
last patch. I tested it after it was mentioned on IRC. (see PR33985) Thomas,
you spotted it.
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34328