diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2017-12-28 13:22:36 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2017-12-28 13:22:36 +0000 |
commit | 96acdb8dc260f2ab3ec5826e8a510c6a7fee665d (patch) | |
tree | 6397b7b179b1437798cb0c17ee9afde33d64130a /gcc/fortran/resolve.c | |
parent | 7b7801e35116595a6ef0669f7a7874b90b0a55a1 (diff) | |
download | gcc-96acdb8dc260f2ab3ec5826e8a510c6a7fee665d.zip gcc-96acdb8dc260f2ab3ec5826e8a510c6a7fee665d.tar.gz gcc-96acdb8dc260f2ab3ec5826e8a510c6a7fee665d.tar.bz2 |
re PR fortran/83567 (Parametrized derived types: Segmentation fault when assigning a function return value)
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.
From-SVN: r256019
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions