This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34876] Can't read/write array sections with negative stride not specified
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2008 23:35:44 -0000
- Subject: [Bug fortran/34876] Can't read/write array sections with negative stride not specified
- References: <bug-34876-15620@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from jvdelisle at gcc dot gnu dot org 2008-01-25 23:35 -------
Subject: Bug 34876
Author: jvdelisle
Date: Fri Jan 25 23:34:53 2008
New Revision: 131848
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131848
Log:
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.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34876