This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]