]> gcc.gnu.org Git - gcc.git/commit
Fortran: Fix automatic reallocation inside select rank [PR100103]
authorJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
Wed, 21 Sep 2022 20:55:02 +0000 (22:55 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Sat, 1 Oct 2022 18:13:20 +0000 (20:13 +0200)
commit56275fd23e3f7876c24a812f9b6776b00a94744e
treeafca3cd0704b3642bc38e08009f755e128ad0c3e
parent9de83c0939dabdbefcb88dfef3ad7caf932951ec
Fortran: Fix automatic reallocation inside select rank [PR100103]

gcc/fortran/ChangeLog:

PR fortran/100103
* trans-array.cc (gfc_is_reallocatable_lhs): Add select rank
temporary associate names as possible targets of automatic
reallocation.

gcc/testsuite/ChangeLog:

PR fortran/100103
* gfortran.dg/PR100103.f90: New test.

(cherry picked from commit 12b537b9b7fd50f4b2fbfcb7ccf45f8d66085577)
gcc/fortran/trans-array.cc
gcc/testsuite/gfortran.dg/PR100103.f90 [new file with mode: 0644]
This page took 0.066753 seconds and 6 git commands to generate.