2006-10-31 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/29627 * libgfortran.h: Add ERROR_SHORT_RECORD * runtime/error.c (translate_error): Add case for ERROR_SHORT_RECORD. * io/transfer.c (read_block_direct): Separate codepaths for stream and record unformatted I/O. Remove unneeded tests for standard input, padding and formatted I/O. If the record is short, read in as much data as possible, then raise the error. 2006-10-31 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/29627 * gfortran.dg/unf_short_record_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118341 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/unf_short_record_1.f90 17 additions, 0 deletionsgcc/testsuite/gfortran.dg/unf_short_record_1.f90
- libgfortran/ChangeLog 12 additions, 0 deletionslibgfortran/ChangeLog
- libgfortran/io/transfer.c 41 additions, 49 deletionslibgfortran/io/transfer.c
- libgfortran/libgfortran.h 1 addition, 0 deletionslibgfortran/libgfortran.h
- libgfortran/runtime/error.c 4 additions, 0 deletionslibgfortran/runtime/error.c
Loading
Please register or sign in to comment