]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 1 Nov 2017 17:24:35 +0000 (17:24 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 1 Nov 2017 17:24:35 +0000 (17:24 +0000)
commit62d9e9d35b5d30e997cc8ecbbe2bc4f76fee7bee
tree20f0c63c35ae2deef09272f5a484a4aa526efa06
parentebbfe064e7b646d09462c5c5c5d0446b0e3601e9
[multiple changes]

2017-11-01  Andre Vehreschild  <vehre@gcc.gnu.org>
Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78293
* trans-expr.c (gfc_conv_procedure_call): Prepend deallocation
of alloctable components to post, rather than adding to
se->post.
* trans-stmt.c (gfc_trans_allocate): Move deallocation of expr3
allocatable components so that all expr3s are visited.

2017-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78293
* gfortran.dg/allocatable_function_10.f90: New test.
* gfortran.dg/class_array_15.f03: Increase builtin_free count
from 11 to 12.

From-SVN: r254319
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocatable_function_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/class_array_15.f03