https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109223
--- Comment #3 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #2) > Why do you think it should work? > > R863 implicit-stmt is IMPLICIT implicit-spec-list > or IMPLICIT NONE [ ( [ implicit-none-spec-list ] ) ] > > R864 implicit-spec is declaration-type-spec ( letter-spec-list ) > > R865 letter-spec is letter [- letter ] > > R866 implicit-none-spec is EXTERNAL > or TYPE > > My reading of the EBNF is that TYPE can only following NONE. > Your code lacks NONE. Replying to self. In fact, the syntax requires (TYPE) not TYPE. More importantly TYPE does not take a declaration-type-spec.