https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101349
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:9213ff13247739d6d335064a6b568278a872a991 commit r12-3230-g9213ff13247739d6d335064a6b568278a872a991 Author: Harald Anlauf <anl...@gmx.de> Date: Mon Aug 30 22:41:01 2021 +0200 Fortran - correct check for constraint F2008:C628 / F2018:C932 gcc/fortran/ChangeLog: PR fortran/101349 * resolve.c (resolve_allocate_expr): An unlimited polymorphic argument to ALLOCATE must be ALLOCATABLE or a POINTER. Fix the corresponding check. gcc/testsuite/ChangeLog: PR fortran/101349 * gfortran.dg/unlimited_polymorphic_33.f90: New test.