https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117763
--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:8d81d6b2f9b72a41f23b07214d88cfc6666b176a commit r13-9219-g8d81d6b2f9b72a41f23b07214d88cfc6666b176a Author: Paul Thomas <pa...@gcc.gnu.org> Date: Tue Nov 26 08:58:21 2024 +0000 Fortran: Partial reversion of r15-5083 [PR117763] 2024-11-26 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/117763 * trans-array.cc (gfc_get_array_span): Guard against derefences of 'expr'. Clean up some typos. Use 'gfc_get_vptr_from_expr' for clarity and apply a functional reversion of last section that deals with class dummies. gcc/testsuite/ PR fortran/117763 * gfortran.dg/pr117763.f90: New test. (cherry picked from commit 8278d9551df610179fca114808a7e6e62bab3d82)