This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47778] reading two arrays of structures from namelist fails
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Mar 2011 02:06:42 +0000
- Subject: [Bug fortran/47778] reading two arrays of structures from namelist fails
- Auto-submitted: auto-generated
- References: <bug-47778-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47778
--- Comment #9 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-03-07 02:06:32 UTC ---
Author: jvdelisle
Date: Mon Mar 7 02:06:27 2011
New Revision: 170726
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170726
Log:
2011-03-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/47778
* io/list_read.c (namelist_read): Intialize the error string buffere.
If pprev_nl was used during the previous namelist read and the rank
was zero, reset the pointer to NULL for the next namelist read.
Modified:
branches/gcc-4_5-branch/libgfortran/ChangeLog
branches/gcc-4_5-branch/libgfortran/io/list_read.c