]> gcc.gnu.org Git - gcc.git/commit
Fortran: extend check for array arguments and reject CLASS array elements.
authorHarald Anlauf <anlauf@gmx.de>
Fri, 23 Jul 2021 19:00:10 +0000 (21:00 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Fri, 30 Jul 2021 20:02:34 +0000 (22:02 +0200)
commit95cda605a8f7e6b54c428b7d2c37b4f2ebe4a8d8
tree6200bff89e70cc2e43ce59972fc428f21c131c11
parente925336ec309e581317f9b198207db915402b83f
Fortran: extend check for array arguments and reject CLASS array elements.

gcc/fortran/ChangeLog:

PR fortran/101536
* check.c (array_check): Adjust check for the case of CLASS
arrays.

gcc/testsuite/ChangeLog:

PR fortran/101536
* gfortran.dg/pr101536.f90: New test.

(cherry picked from commit e314cfc371d8b2405a1d81e51b90f9fb24b9061f)
gcc/fortran/check.c
gcc/testsuite/gfortran.dg/pr101536.f90 [new file with mode: 0644]
This page took 0.059734 seconds and 6 git commands to generate.