re PR fortran/87359 (pointer being freed was not allocated)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 30 Sep 2018 13:52:55 +0000 (13:52 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 30 Sep 2018 13:52:55 +0000 (13:52 +0000)
commita086078b8f7ee2580e55afc03026acf63bfb9605
tree16e4ee88506a0816352bbb6f207faa23c1c50f4b
parentba08c70a0c73b9fef5b78e2e5706845aa85c4df7
re PR fortran/87359 (pointer being freed was not allocated)

2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/87359
* trans-array.c (gfc_is_reallocatable_lhs): Correct the problem
introduced by r264358, which prevented components of associate
names from being reallocated on assignment.

2018-09-30  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/87359
* gfortran.dg/associate_40.f90 : New test.

From-SVN: r264725
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associate_40.f90 [new file with mode: 0644]