diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2024-12-12 17:50:56 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2024-12-12 17:51:20 +0000 |
commit | d4330ff9bc9a2995e79d88b09a2ee76673167661 (patch) | |
tree | 73ccfd579aee56b11d48e5024f7057d81d1bc4e0 /gcc/testsuite/c-c++-common/gomp | |
parent | b563a3a00db064d4d47fd171379e1d34d0698faa (diff) | |
download | gcc-d4330ff9bc9a2995e79d88b09a2ee76673167661.zip gcc-d4330ff9bc9a2995e79d88b09a2ee76673167661.tar.gz gcc-d4330ff9bc9a2995e79d88b09a2ee76673167661.tar.bz2 |
Fortran: Fix testsuite regressions after r15-5083 [PR117797]
2024-12-12 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/117797
* trans-array.cc (class_array_element_size): New function.
(gfc_get_array_span): Refactor, using class_array_element_size
to return the span for descriptors that are the _data component
of a class expression and then class dummy references. Revert
the conditions to those before r15-5083 tidying up using 'sym'.
gcc/testsuite/
PR fortran/117797
* gfortran.dg/pr117797.f90: New test.
Diffstat (limited to 'gcc/testsuite/c-c++-common/gomp')
0 files changed, 0 insertions, 0 deletions