http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52512
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2013-04-28 03:24:29 UTC --- Committed to support backport of fix to PR56786 Author: jvdelisle Date: Sun Apr 28 02:59:44 2013 New Revision: 198366 URL: http://gcc.gnu.org/viewcvs?rev=198366&root=gcc&view=rev Log: 2013-04-27 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. PR fortran/52512 * gfortran.dg/namelist_79.f90: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/namelist_79.f90 Modified: branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/libgfortran/ChangeLog branches/gcc-4_8-branch/libgfortran/io/list_read.c