[Bug fortran/60956] [4.8/4.9/5 Regression] error reading (and writing) large text files in gfortran
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 23 04:55:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60956
--- Comment #11 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Mon Mar 23 01:32:15 2015
New Revision: 221584
URL: https://gcc.gnu.org/viewcvs?rev=221584&root=gcc&view=rev
Log:
2015-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/60956
Backport from mainline
* io/fbuf.c (fbuf_flush_list): New function that only flushes
if current fbuf position exceeds a limit.
* io/fbuf.h: Declare the new function.
* io/io.h (enum unit_mode): Add two new modes.
* io/list_read.c (list_formatted_read_scalar): Call new function.
* io/write.c: Include fbuf.h. (list_formatted_write_scalar):
Call new function.
Modified:
branches/gcc-4_8-branch/libgfortran/ChangeLog
branches/gcc-4_8-branch/libgfortran/io/fbuf.c
branches/gcc-4_8-branch/libgfortran/io/fbuf.h
branches/gcc-4_8-branch/libgfortran/io/io.h
branches/gcc-4_8-branch/libgfortran/io/list_read.c
branches/gcc-4_8-branch/libgfortran/io/write.c
More information about the Gcc-bugs
mailing list