diff options
author | Harald Anlauf <anlauf@gmx.de> | 2022-07-27 21:34:22 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-07-31 20:28:38 +0200 |
commit | 0110cfd5449bae3a772f45ea2e4c5dab5b7a8ccd (patch) | |
tree | 297d550a3369382d8bda6a68bb15bc28f489bcb6 /intl | |
parent | b04c399e258e686dddad879bf7e27d9e28fd6fde (diff) | |
download | gcc-0110cfd5449bae3a772f45ea2e4c5dab5b7a8ccd.zip gcc-0110cfd5449bae3a772f45ea2e4c5dab5b7a8ccd.tar.gz gcc-0110cfd5449bae3a772f45ea2e4c5dab5b7a8ccd.tar.bz2 |
Fortran: fix invalid rank error in ASSOCIATED when rank is remapped [PR77652]
gcc/fortran/ChangeLog:
PR fortran/77652
* check.cc (gfc_check_associated): Make the rank check of POINTER
vs. TARGET match the allowed forms of pointer assignment for the
selected Fortran standard.
gcc/testsuite/ChangeLog:
PR fortran/77652
* gfortran.dg/associated_target_9a.f90: New test.
* gfortran.dg/associated_target_9b.f90: New test.
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions