F95, 5.4 Namelist Statement, 1st Constraint:
"A namelist-group-object shall not be [...] a pointer, a variable of a type
that has an ultimate component that is a pointer [...]."
This code is accepted by gfortran-20070725:
TYPE :: tt
INTEGER, POINTER :: x
END TYPE
TYPE(tt) :: t
NAMELIST /nl2/ t
END
--
Summary: NAMELIST accepts types with ultimate POINTER components
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dfranke at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32905