https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109223
--- Comment #5 from kargl at gcc dot gnu.org --- (In reply to urbanjost from comment #4) > User-defined types work and as I read the ISO standard are supported, and > TYPE(REAL) works; it is only when a parameter is added that it fails; > nvfortran fails for user-defined type declared below it but it works with > one defined via a USE from a module; while gfortran allows the type to be > defined after the use, > but I consider that a nvfortran bug myself. Ah, yeah, you're right. I failed to follow the EBNF in R864. It seems that gfortran is getting tripped up with the character following the basic type name, ie., the kind selector part.