re PR fortran/34876 (Can't read/write array sections with negative stride not specified)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 25 Jan 2008 23:34:53 +0000 (23:34 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 25 Jan 2008 23:34:53 +0000 (23:34 +0000)
commit4152bc263ecc54958a79a8ad6202cbd6ea8ddb7c
tree0ddaf66a512f8044b2abcef9d3a0c3f7ad1631d1
parent42cd23cb280140a88f5ca1e6eec26c4aab734a84
re PR fortran/34876 (Can't read/write array sections with negative stride not specified)

2008-01-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libfortran/34876
* io/transfer.c (write_buf): Handle case of zero sized array.
(transfer_array): Set data pointer to NULL and size to zero.  Then
make a data transfer and return.

From-SVN: r131848
libgfortran/ChangeLog
libgfortran/io/transfer.c