As discussed on comp.lang.fortran. The test case namelist_15.f90 has three examples of invalid derived type specifiers. Only one none-zero rank object is allowed.
> write (10, '(A)') " x%i = , ,-3, -4" The line above is illegal. It represents an array of arrays (i and m), which is not allowed in Fortran (see "Fortran 95/2003 Explained", Section 6.13). > > write (10, '(A)') " x(2)%m(2)%ch(1)(1) ='w'," This line contains a spurious '(1)' > > write (10, '(A)') " x%m%ch(:)(2) = 'z','z','z','z','z','z','z','z'," This is also an attempt at an array of arrays (x and m). Thanks to Mike Metcalf for clarifications. See the book. -- Summary: Additional runtime checks needed for namelist reads Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3 Component: libfortran AssignedTo: jvdelisle at gcc dot gnu dot org ReportedBy: jvdelisle at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33672