https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117763
--- Comment #19 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:da1305a9fee3b2efbb4702bb2d9b2f740d2e538a commit r14-10993-gda1305a9fee3b2efbb4702bb2d9b2f740d2e538a 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)