https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87277
--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Tue Sep 11 17:18:13 2018 New Revision: 264213 URL: https://gcc.gnu.org/viewcvs?rev=264213&root=gcc&view=rev Log: 2018-09-11 Paul Thomas <pa...@gcc.gnu.org> PR fortran/87277 * expr.c (is_subref_array): Add the check of dimensionality for class, dummy, pointer arrays. 2018-09-11 Paul Thomas <pa...@gcc.gnu.org> PR fortran/87277 * gfortran.dg/select_type_43.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/select_type_43.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/expr.c branches/gcc-8-branch/gcc/testsuite/ChangeLog