This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47694] [4.3/4.4/4.5/4.6 Regression] Fortran read from named pipe fails to read all available data


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

--- Comment #24 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-03-05 00:05:40 UTC ---
Author: jvdelisle
Date: Sat Mar  5 00:05:34 2011
New Revision: 170692

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170692
Log:
2011-03-04  Jakub Jelinek  <jakub@redhat.com>

    Backport from mainline
    PR fortran/47878
    * io/transfer.c (read_sf): Call fbuf_getptr only at the end,
    and subtract n, dtp->u.p.sf_seen_eor and seen_comma from it.

2011-03-04  Janne Blomqvist  <jb@gcc.gnu.org>
        Jerry DeLisle    <jvdelisle@gcc.gnu.org>

    Backport from mainline
    PR libfortran/47694
    * io/fbuf.h (fbuf_getptr): New inline function.
    * io/transfer.c (read_sf): Use fbuf_getptr and fbuf_getc to scan
    through the string instead of fbuf_read.

2011-03-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    Backport from mainline
    PR libgfortran/47878
    * gfortran.dg/pr47878.f90: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/pr47878.f90
Modified:
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/libgfortran/ChangeLog
    branches/gcc-4_5-branch/libgfortran/io/fbuf.h
    branches/gcc-4_5-branch/libgfortran/io/transfer.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]