https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84538
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Thu Mar 1 08:56:31 2018 New Revision: 258097 URL: https://gcc.gnu.org/viewcvs?rev=258097&root=gcc&view=rev Log: 2018-03-01 Paul Thomas <pa...@gcc.gnu.org> PR fortran/84538 * class.c (class_array_ref_detected): Remove the condition that there be no reference after the array reference. (find_intrinsic_vtab): Remove excess whitespace. * trans-array.c (gfc_conv_scalarized_array_ref): Rename 'tmp' as 'base and call build_class_array_ref earlier. 2018-03-01 Paul Thomas <pa...@gcc.gnu.org> PR fortran/84538 * gfortran.dg/class_array_23.f03: New test. Added: trunk/gcc/testsuite/gfortran.dg/class_array_23.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/class.c trunk/gcc/fortran/trans-array.c trunk/gcc/testsuite/ChangeLog