]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Partial reversion of r15-5083 [PR117763]
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 26 Nov 2024 08:58:21 +0000 (08:58 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 26 Nov 2024 08:59:17 +0000 (08:59 +0000)
commit8278d9551df610179fca114808a7e6e62bab3d82
tree7956dcb5a63885bba3b066ae590fb3b76fc67278
parent9c82afd42e7b5c3bdb849c66879138e59d8eb866
Fortran: Partial reversion of r15-5083 [PR117763]

2024-11-26  Paul Thomas  <pault@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.
gcc/fortran/trans-array.cc
gcc/testsuite/gfortran.dg/pr117763.f90 [new file with mode: 0644]