re PR fortran/56386 ([F03] ICE with ASSOCIATE construct and an derived type array...
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 17 Oct 2018 07:16:16 +0000 (07:16 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 17 Oct 2018 07:16:16 +0000 (07:16 +0000)
commitece66526512d269375035e4413bb95d15a68ff3a
tree366c622d900d7358dd673354407e101e9cc05ef8
parent17d6b74d7f557a86a87ce5c6e1abf448576efb8e
re PR fortran/56386 ([F03] ICE with ASSOCIATE construct and an derived type array component)

2018-10-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56386
PR fortran/58906
PR fortran/77385
PR fortran/80260
PR fortran/82077
* resolve.c (resolve_variable): Fix up expressions with array
associate names, where the parser did not detect that this is
array and there was no array part_ref in the expression.

2018-10-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56386
PR fortran/58906
PR fortran/77385
* gfortran.dg/associate_44.f90 : New test.

PR fortran/80260
* gfortran.dg/select_type_45.f90 : New test.

PR fortran/82077
* gfortran.dg/select_type_46.f90 : New test.

From-SVN: r265232
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associate_44.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/select_type_45.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/select_type_46.f90 [new file with mode: 0644]