https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89938
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- gcc/testsuite/gfortran.dg/pdt_4.f03: type(modtype(8,*)) :: mod_r ! { dg-error "ASSUMED type parameters" } The test is not part of the attached patch.