------- Comment #1 from burnus at gcc dot gnu dot org  2007-01-16 21:50 -------
Fortran 95:
"Constraint:
A namelist-group-object shall not be an array dummy argument with a nonconstant
bound, a variable with nonconstant character length, an automatic object, a
pointer, a variable of a type that has an ultimate component that is a pointer,
or an allocatable array."

Actually, I have problems to find this constrain explicitly in Fortran 2003.
I believe it must be buried in the last paragraph.

"5.4 NAMELIST statement"
"C574 (R553) A namelist-group-object shall not be an assumed-size array."
"A namelist group object shall either be accessed by use or host association or
shall have its type, type parameters, and shape specified by previous
specification statements or the procedure heading in the same scoping unit or
by the implicit typing rules in effect for the scoping unit. If a namelist
group object is typed by the implicit typing rules, its appearance in any
subsequent type declaration statement shall confirm the implied type and type
parameters."


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30481

Reply via email to