https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96099
--- Comment #2 from G. Steinmetz <gs...@t-online.de> --- Oh yes, of course ... a silly cut and paste thing. It has to be : $ cat z1.f90 program p implicit class(t) (1) type t end type end $ cat z2.f90 program p integer n1 parameter (n1 = 1) implicit class(t) (n1) type t end type end