Fortran] PR68020 – Fix implied-shape handling for rank > 2
authorTobias Burnus <tobias@codesourcery.com>
Thu, 2 Jan 2020 15:40:51 +0000 (15:40 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 2 Jan 2020 15:40:51 +0000 (16:40 +0100)
commit48e76d2f70c028a5d84027e79f7fe386278dc15e
treee607aa5e549fc19203835aa2f730822b3346c524
parent4ea5d54b3c7175de045589f994fc94ed7e59d80d
Fortran] PR68020 – Fix implied-shape handling for rank > 2

        PR fortran/68020
        * array.c (gfc_match_array_spec): Fix implied-type matching
        for rank > 2.

        PR fortran/68020
        * gfortran.dg/implied_shape_4.f90: New.
        * gfortran.dg/implied_shape_5.f90: New.

From-SVN: r279835
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/implied_shape_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/implied_shape_5.f90 [new file with mode: 0644]