https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89200
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sat Feb 9 11:11:33 2019 New Revision: 268721 URL: https://gcc.gnu.org/viewcvs?rev=268721&root=gcc&view=rev Log: 2019-02-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/89200 * trans-array.c (gfc_trans_create_temp_array): Set the 'span' field for derived types. 2019-02-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/89200 * gfortran.dg/array_reference_2.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/array_reference_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/testsuite/ChangeLog