[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 01:32:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60956

--- Comment #10 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Mon Mar 23 00:16:01 2015
New Revision: 221578

URL: https://gcc.gnu.org/viewcvs?rev=221578&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_9-branch/libgfortran/ChangeLog
    branches/gcc-4_9-branch/libgfortran/io/fbuf.c
    branches/gcc-4_9-branch/libgfortran/io/fbuf.h
    branches/gcc-4_9-branch/libgfortran/io/io.h
    branches/gcc-4_9-branch/libgfortran/io/list_read.c
    branches/gcc-4_9-branch/libgfortran/io/write.c



More information about the Gcc-bugs mailing list