[Bug fortran/87359] [9 regression] pointer being freed was not allocated
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 21 20:59:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87359
--- Comment #47 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Dec 21 20:58:59 2018
New Revision: 267342
URL: https://gcc.gnu.org/viewcvs?rev=267342&root=gcc&view=rev
Log:
2018-12-21 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-12-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/87359
* gfortran.dg/associate_40.f90 : New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/associate_40.f90
Modified:
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/trans-array.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list