-
- Downloads
[multiple changes]
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. From-SVN: r97943
Showing
- gcc/testsuite/ChangeLog 10 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/eor_handling_1.f90 14 additions, 0 deletionsgcc/testsuite/gfortran.dg/eor_handling_1.f90
- gcc/testsuite/gfortran.dg/eor_handling_2.f90 13 additions, 0 deletionsgcc/testsuite/gfortran.dg/eor_handling_2.f90
- gcc/testsuite/gfortran.dg/eor_handling_3.f90 13 additions, 0 deletionsgcc/testsuite/gfortran.dg/eor_handling_3.f90
- gcc/testsuite/gfortran.dg/eor_handling_4.f90 17 additions, 0 deletionsgcc/testsuite/gfortran.dg/eor_handling_4.f90
- gcc/testsuite/gfortran.dg/eor_handling_5.f90 19 additions, 0 deletionsgcc/testsuite/gfortran.dg/eor_handling_5.f90
- gcc/testsuite/gfortran.dg/noadv_size.f90 11 additions, 0 deletionsgcc/testsuite/gfortran.dg/noadv_size.f90
- gcc/testsuite/gfortran.dg/pad_no.f90 15 additions, 0 deletionsgcc/testsuite/gfortran.dg/pad_no.f90
- libgfortran/ChangeLog 25 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/io/transfer.c 37 additions, 8 deletionslibgfortran/io/transfer.c
Loading
Please register or sign in to comment