re PR fortran/82275 (gfortran rejects valid & accepts invalid reference to dimension...
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 20 May 2018 10:54:24 +0000 (10:54 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 20 May 2018 10:54:24 +0000 (10:54 +0000)
commita17b4d4c608e1336cbde0b7035efffe9fadadd83
treed1fcb72506a6ebb36788314f1ac28521533dae8e
parent9ad8aaf839866994905bf577bcf2a1dee1b8a01a
re PR fortran/82275 (gfortran rejects valid & accepts invalid reference to dimension-remapped type SELECT TYPE selector)

2018-05-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/82275
Correcting ChangeLogs
* match.c (gfc_match_type_spec): Go through the array ref and
decrement 'rank' for every dimension that is an element.

2018-05-20  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/82275
Correcting ChangeLogs
* gfortran.dg/select_type_42.f90: New test.

From-SVN: r260416
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog