This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r118341 - in /trunk: gcc/testsuite/ChangeLog gc...
- From: tkoenig at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 31 Oct 2006 20:58:27 -0000
- Subject: r118341 - in /trunk: gcc/testsuite/ChangeLog gc...
Author: tkoenig
Date: Tue Oct 31 20:58:26 2006
New Revision: 118341
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118341
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/unf_short_record_1.f90
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c
trunk/libgfortran/libgfortran.h
trunk/libgfortran/runtime/error.c