This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56660] Fails to read NAMELIST with certain form array syntax
- 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, 01 Apr 2013 20:33:52 +0000
- Subject: [Bug fortran/56660] Fails to read NAMELIST with certain form array syntax
- Auto-submitted: auto-generated
- References: <bug-56660-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56660
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2013-04-01 20:33:52 UTC ---
Author: jvdelisle
Date: Mon Apr 1 20:30:41 2013
New Revision: 197321
URL: http://gcc.gnu.org/viewcvs?rev=197321&root=gcc&view=rev
Log:
2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/56660
* io/list_read.c (nml_read_obj): Do not reset the read error flag
inside nml_read_obj. If the read error flag is found set just exit.
Fix some whitespace on comments.
(nml_read_obj_data): Reset the read error flag before the first call
to nml_read_object.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c