OSDN Git Service

2005-04-10 Thomas Koenig <Thomas.Koenig@online.de>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Apr 2005 08:35:39 +0000 (08:35 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Apr 2005 08:35:39 +0000 (08:35 +0000)
commit3ee4ff514ef78664456ace6cb94f6f47d5b054c3
treec9a0285e6fdb6b7376373f67ac64eea33c65e9fc
parent681996faa0d6a8c18c3df8b352603c9596a81e11
2005-04-10  Thomas Koenig <Thomas.Koenig@online.de>

        PR libfortran/17992
        PR libfortran/19568
        PR libfortran/19595
        PR libfortran/20005
        PR libfortran/20092
        PR libfortran/20131
        PR libfortran/20138
        PR libfortran/20661
        PR libfortran/20744
        * io/transfer.c (top level): eor_condition: New static variable.
        (read_sf): Remove unnecessary zeroing of buffer (there is enough
        information in its length).
        Return a string of length 0 (to be padded by caller) if EOR was
        seen previously.
        Remove erroneous special casing of EOR for standard input.
        Set eor_condition for non-advancing I/O if an end of line was
        detected.
        Increment ioparm.size if necessary.
        (formatted_transfer):  Skip the function if there is an EOR condition.
        (data_transfer_init):  Initialize eor_condition to zero (false).
        (next_record_r):  Clear sf_seen_eor if a \n has been seen already.
        (finalize_transfer):  If there is an EOR condition, raise the error.

2005-04-10   Thomas Koenig  <Thomas.Koenig@online.de>

        * eor_handling_1.f90: New test case.
        * eor_handling_2.f90: New test case.
        * eor_handling_3.f90: New test case.
        * eor_handling_4.f90: New test case.
        * eor_handling_5.f90: New test case.
        * noadv_size.f90: New test case.
        * pad_no.f90: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97943 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/eor_handling_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/eor_handling_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/eor_handling_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/eor_handling_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/eor_handling_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/noadv_size.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pad_no.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/transfer.c