https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102917
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:5782bacacada41c0240f5aceb42dcdf78e7042da commit r11-9191-g5782bacacada41c0240f5aceb42dcdf78e7042da Author: Harald Anlauf <anl...@gmx.de> Date: Tue Oct 26 20:54:41 2021 +0200 Fortran: do not restrict PDT KIND and LEN type parameters to default integer gcc/fortran/ChangeLog: PR fortran/102917 * decl.c (match_attr_spec): Remove invalid integer kind checks on KIND and LEN attributes of PDTs. gcc/testsuite/ChangeLog: PR fortran/102917 * gfortran.dg/pdt_4.f03: Adjust testcase. (cherry picked from commit cfcb27cfcb1d32b8cf7bc463cc1fc5cacae8d199)