https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100551
--- Comment #7 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:de55a48960d2f08266cba1222e233507015dd620 commit r11-8469-gde55a48960d2f08266cba1222e233507015dd620 Author: Harald Anlauf <anl...@gmx.de> Date: Sun May 23 20:51:14 2021 +0200 Fortran: fix passing return value to class(*) dummy argument gcc/fortran/ChangeLog: PR fortran/100551 * trans-expr.c (gfc_conv_procedure_call): Adjust check for implicit conversion of actual argument to an unlimited polymorphic procedure argument. gcc/testsuite/ChangeLog: PR fortran/100551 * gfortran.dg/pr100551.f90: New test. (cherry picked from commit fe03f4fc9548b3fdbff3c8284a994feaa7d6307d)