OSDN Git Service

2013-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2013 01:25:43 +0000 (01:25 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Apr 2013 01:25:43 +0000 (01:25 +0000)
commitba6222107e6b23ec36844637ec238919ca709acd
tree16d2192b87f728a4e0ed6657a7ed89925ebe4a25
parentf0f62fbe8bee6628e0559c6244893788df79db15
2013-04-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from mainline:
2013-03-20  Tilo Schwarz  <tilo@tilo-schwarz.de>

PR libfortran/51825
* io/list_read.c (nml_read_obj): Don't end the component loop on a
nested derived type, but continue with the next loop iteration.
(nml_get_obj_data): Don't move the first_nl pointer further in the
list if a qualifier was found.

PR fortran/51825
* gfortran.dg/namelist_77.f90: New test.
* gfortran.dg/namelist_78.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@198386 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/namelist_77.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/namelist_78.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/list_read.c