https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98686
--- Comment #1 from anlauf at gcc dot gnu.org --- F2018: 8.9 NAMELIST statement (5) A namelist group object shall either be accessed by use or host association or shall have its declared type, kind type parameters of the declared type, and rank 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.