]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix elemental array refs in SELECT TYPE [PR109345]
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 11 Nov 2024 12:21:57 +0000 (12:21 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 11 Nov 2024 12:22:23 +0000 (12:22 +0000)
commite22d80d4f0f8d33f538c1a4bad07b2c819a6d55c
tree86852a14412c7dd56aae62293fecee8b876609d0
parentda64698159fe69b68f5264b54cebcb67c501b3cf
Fortran: Fix elemental array refs in SELECT TYPE [PR109345]

2024-11-10  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/109345
* trans-array.cc (gfc_get_array_span): Unlimited polymorphic
expressions are now treated separately since the span need not
be the same as the element size.

gcc/testsuite/
PR fortran/109345
* gfortran.dg/character_workout_1.f90: Cut trailing whitespace.
* gfortran.dg/pr109345.f90: New test.
gcc/fortran/trans-array.cc
gcc/testsuite/gfortran.dg/character_workout_1.f90
gcc/testsuite/gfortran.dg/pr109345.f90 [new file with mode: 0644]