]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR fortran/64933 (ASSOCIATE on a character variable does not allow substring expre...
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 4 Nov 2016 19:23:44 +0000 (19:23 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 4 Nov 2016 19:23:44 +0000 (19:23 +0000)
commitb125dc1e1bb5932a2de833e07bbdc2395097a868
treec25b7ef2b8fc5fc8d013468b90130d1b2405d8a7
parent5f4cebba260db0f1b1edf45152be3bad2ed779a8
re PR fortran/64933 (ASSOCIATE on a character variable does not allow substring expressions)

2016-04-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/64933
* primary.c (gfc_match_varspec): If selector expression is
unambiguously an array, make sure that the associate name
is an array and has an array spec. Modify the original
condition for doing this to exclude character types.

2016-04-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/64933
* gfortran.dg/associate_23.f90: New test.

From-SVN: r241860
gcc/fortran/ChangeLog
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associate_23.f90 [new file with mode: 0644]