https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66409
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikael at gcc dot gnu.org
--- Comment #7 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to anlauf from comment #6)
> (In reply to Steve Kargl from comment #5)
>
> > Perhaps, someone, who cares about this bug, can point at the language in
> > the Fortran standard.
>
> I looked again at F2018 and couldn't find anything.
>
I think it's in 15.4.3.4.5 Restrictions on generic declarations.
But it's too late for me to decipher what's written there.