[patch,libfortran] PR34876 can't read/write zero length array sections

Tobias Burnus burnus@net-b.de
Fri Jan 25 21:51:00 GMT 2008


Jerry DeLisle wrote:
> Regression tested on x86-64-linux-gnu.
> OK for Trunk, I assume waiting for 4.4 since this is not a regression fix.
OK.

Tobias

> 2008-01-24  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.



More information about the Fortran mailing list