https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99818
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:4a573574b17caf0391ee7f7febdaa82a9ff1094e commit r10-10078-g4a573574b17caf0391ee7f7febdaa82a9ff1094e Author: Paul Thomas <pa...@gcc.gnu.org> Date: Sat Apr 3 12:49:50 2021 +0100 Fortran: Fix ICE on wrong code [PR99818]. 2021-04-03 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran/ChangeLog PR fortran/99818 * interface.c (compare_parameter): The codimension attribute is applied to the _data field of class formal arguments. gcc/testsuite/ChangeLog PR fortran/99818 * gfortran.dg/coarray_48.f90: New test. (cherry picked from commit fc27115d6107f219e6f3dc610c99210005fe9dc5)