[patch, libfortran] PR35132 Formatted stream I/O write should truncate
Jerry DeLisle
jvdelisle@verizon.net
Sun Feb 10 04:04:00 GMT 2008
This patch is obvious and simple. I will commit as soon as 4.4 opens. Sooner
if others are insisting.
Regression tested on x86-64-Linux. New test case from the PR.
Jerry
2008-02-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/35132
* io/transfer.c (next_record_w): When WRITE, truncate after
the last record for STREAM I/O.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr35132.diff
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080210/f6b32cbb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: streamio_14.f90
Type: text/x-fortran
Size: 1080 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080210/f6b32cbb/attachment-0001.bin>
More information about the Gcc-patches
mailing list