https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78661

--- Comment #14 from janus at gcc dot gnu.org ---
(In reply to paul.richard.tho...@gmail.com from comment #13)
> Why do you think that both input and output is required?

Don't know. My intuitive reaction was that comment 5 should be valid, but I
haven't looked in the standard. If it is valid, we probably need to move the
check, which currently triggers on the namelist declaration, regardless of
whether it's actually used in any input or output statements.


> How is namelist supposed to work with classes? Just with the declared type?

As with 'normal' I/O, I'd say, i.e. calling the DTIO procedure according to the
dynamic type (not the declared type!). At least that's what my patch does ...

Reply via email to