This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31210] I/O of string with (non-constant) zero length
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 May 2007 15:14:17 -0000
- Subject: [Bug fortran/31210] I/O of string with (non-constant) zero length
- References: <bug-31210-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-05-04 16:14 -------
Subject: Bug 31210
Author: fxcoudert
Date: Fri May 4 15:14:07 2007
New Revision: 124428
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124428
Log:
PR libfortran/31210
* io/transfer.c (transfer_character): Avoid passing a NULL
pointer as source to the transfer routines, if the string length
is zero.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31210