]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/trans-decl.c
2017-12-28 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Dec 2017 13:22:36 +0000 (13:22 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Dec 2017 13:22:36 +0000 (13:22 +0000)
commit2222c3abba0f380eebc002857424b06d95c56755
tree6397b7b179b1437798cb0c17ee9afde33d64130a
parent1e706205a20d9fc14e0a2decd398494526c2868f
2017-12-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83567
* trans-expr.c (gfc_trans_assignment_1): Free parameterized
components of the lhs if dealloc is set.
*trans-decl.c (gfc_trans_deferred_vars): Do not free the
parameterized components of function results on leaving scope.

2017-12-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83567
* gfortran.dg/pdt_26.f90 : New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256019 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pdt_26.f03 [new file with mode: 0644]