https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58331
--- Comment #10 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:901edd99b44976b3c2b13a7d525d9e315540186a commit r13-6698-g901edd99b44976b3c2b13a7d525d9e315540186a Author: Harald Anlauf <anl...@gmx.de> Date: Tue Mar 14 20:23:06 2023 +0100 Fortran: rank checking with explicit-/assumed-size arrays and CLASS [PR58331] gcc/fortran/ChangeLog: PR fortran/58331 * interface.cc (compare_parameter): Adjust check of array dummy arguments to handle the case of CLASS variables. gcc/testsuite/ChangeLog: PR fortran/58331 * gfortran.dg/class_dummy_10.f90: New test. Co-authored-by: Tobias Burnus <tob...@codesourcery.com>