[Fortran] Fix error cleanup of select rank (PR93522)
authorTobias Burnus <tobias@codesourcery.com>
Thu, 2 Apr 2020 09:16:17 +0000 (11:16 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 2 Apr 2020 09:16:17 +0000 (11:16 +0200)
commit224efaf7e1e9240b64602ea81a255cb43e4dcb0c
tree5c5197cae8944e67d0320e7acd7155f3bd4a408e
parentb7a98f48e06974ffca184335ff598cf3475e478f
[Fortran] Fix error cleanup of select rank (PR93522)

PR fortran/93522
* match.c (gfc_match_select_rank): Fix error cleanup.

PR fortran/93522
* gfortran.dg/select_rank_4.f90: New.
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_rank_4.f90 [new file with mode: 0644]