http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52512
--- Comment #9 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2013-04-28 16:54:14 UTC --- Really closed now. Author: jvdelisle Date: Sun Apr 28 16:50:19 2013 New Revision: 198373 URL: http://gcc.gnu.org/viewcvs?rev=198373&root=gcc&view=rev Log: 2013-04-28 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from mainline: 2013-03-25 Tilo Schwarz <t...@tilo-schwarz.de> PR libfortran/52512 * io/list_read.c (nml_parse_qualifier): To check for a derived type don't use the namelist head element type but the current element type. (nml_get_obj_data): Add current namelist element type to nml_parse_qualifier call. 2013-04-28 Jerry DeLisle <jvdeli...@gcc.gnu.org> Backport from trunk: PR fortran/52512 * gfortran.dg/namelist_79.f90: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/namelist_79.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