This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/50016] [4.7 Regression] Drastic I/O performance regression on Windows
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 17:27:08 +0000
- Subject: [Bug libfortran/50016] [4.7 Regression] Drastic I/O performance regression on Windows
- Auto-submitted: auto-generated
- References: <bug-50016-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016
--- Comment #17 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-10-19 17:27:08 UTC ---
Author: burnus
Date: Wed Oct 19 17:27:03 2011
New Revision: 180199
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180199
Log:
2011-10-19 Janne Blomqvist <jb@gcc.gnu.org>
Kai Tietz <ktietz@redhat.com>
Tobias Burnus <burnus@net-b.de>
PR fortran/50016
* io/unix.h (flush_sync): Add new libgfortran-internal
* prototype.
* io/unix.c (flush_sync): New function, which calls sflush and
on MinGW(-w64) also _commit.
(flush_all_units, flush_all_units_1): Replace sflush/_commit by
flush_sync.
* io/file_pos.c (st_flush): Replace sflush/_commit by
* flush_sync.
* io/intrinsics.c (flush_i4, flush_i8): Ditto.
Modified:
branches/gcc-4_6-branch/libgfortran/ChangeLog
branches/gcc-4_6-branch/libgfortran/io/file_pos.c
branches/gcc-4_6-branch/libgfortran/io/intrinsics.c
branches/gcc-4_6-branch/libgfortran/io/unix.c
branches/gcc-4_6-branch/libgfortran/io/unix.h