re PR fortran/86935 (Bad locus in ASSOCIATE statement)
authorJanus Weil <janus@gcc.gnu.org>
Wed, 22 Aug 2018 19:31:40 +0000 (21:31 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 22 Aug 2018 19:31:40 +0000 (21:31 +0200)
commitbcddf743dd356082eca0a580881da0df683fe5ea
treeaa45f8344f1f2d4f0e9854e2aafb26852eda8478
parente9afbed0d65d7546b05cce3d5b5229b0046933ed
re PR fortran/86935 (Bad locus in ASSOCIATE statement)

fix PR 86935

2018-08-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/86935
* match.c (gfc_match_associate): Improve diagnostics for the ASSOCIATE
statement.

2018-08-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/86935
* gfortran.dg/associate_3.f90: Update error message.
* gfortran.dg/associate_39.f90: New test case.

From-SVN: r263787
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associate_3.f03
gcc/testsuite/gfortran.dg/associate_39.f90 [new file with mode: 0644]