[Bug fortran/117797] [13/14/15 Regression] ICE in gfc_get_array_span
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 12 17:51:30 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117797
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:d4330ff9bc9a2995e79d88b09a2ee76673167661
commit r15-6177-gd4330ff9bc9a2995e79d88b09a2ee76673167661
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Thu Dec 12 17:50:56 2024 +0000
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.
More information about the Gcc-bugs
mailing list