http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51825
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2013-04-29 01:27:05 UTC --- Author: jvdelisle Date: Mon Apr 29 01:25:43 2013 New Revision: 198386 URL: http://gcc.gnu.org/viewcvs?rev=198386&root=gcc&view=rev Log: 2013-04-28 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from mainline: 2013-03-20 Tilo Schwarz <t...@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. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/namelist_77.f90 branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/namelist_78.f90 Modified: branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/libgfortran/ChangeLog branches/gcc-4_7-branch/libgfortran/io/list_read.c Really closed now.