diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-12-27 14:59:38 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2020-12-27 14:59:38 +0000 |
commit | c4a678981572c12d158709ace0d3f23dd04cf217 (patch) | |
tree | cffb9058bee31e22736a501bf2f63f0c2a53f363 /libgo | |
parent | 0e283e2c9f15d8abfd6a57c05d0845f8c4e08827 (diff) | |
download | gcc-c4a678981572c12d158709ace0d3f23dd04cf217.zip gcc-c4a678981572c12d158709ace0d3f23dd04cf217.tar.gz gcc-c4a678981572c12d158709ace0d3f23dd04cf217.tar.bz2 |
Fortran: Fix some select rank issues [PR97694 and 97723].
2020-12-27 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/97694
PR fortran/97723
* check.c (allocatable_check): Select rank temporaries are
permitted even though they are treated as associate variables.
* resolve.c (gfc_resolve_code): Break on select rank as well as
select type so that the block os resolved.
* trans-stmt.c (trans_associate_var): Class associate variables
that are optional dummies must use the backend_decl.
gcc/testsuite/
PR fortran/97694
PR fortran/97723
* gfortran.dg/select_rank_5.f90: New test.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions