]> git.ipfire.org Git - people/ms/gcc.git/commit
Fortran: Fix regression caused by PR37336 patch [PR109209]
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 21 Mar 2023 06:22:37 +0000 (06:22 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 21 Mar 2023 06:22:37 +0000 (06:22 +0000)
commit3a9caf7883103bc3a80dfc9e4797bb849b3c211c
treef03539e063a8462281667b45c5242e6783933291
parent76dda10584011fa8156d13cb24b3649f1765b68f
Fortran: Fix regression caused by PR37336 patch [PR109209]

2023-03-21  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/109209
* resolve.cc (generate_component_assignments): Restore the
exclusion of allocatable components from the loop.

gcc/testsuite/
PR fortran/109209
* gfortran.dg/pr109209.f90: New test.
gcc/fortran/resolve.cc
gcc/testsuite/gfortran.dg/pr109209.f90 [new file with mode: 0644]