]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/40440 (Automatic deallocation component of DT function return value)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 19 Jun 2009 21:58:27 +0000 (21:58 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 19 Jun 2009 21:58:27 +0000 (21:58 +0000)
commit47f71eb95c205984d1717a8e20181c9fe67cf109
tree25cce1767c043508102a8305bca778fcf01421fb
parent6569d386e28bb84135413af40c470d238a7fea54
re PR fortran/40440 (Automatic deallocation component of DT function return value)

2009-06-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40440
* trans-expr.c (gfc_conv_procedure_call): Do not deallocate
allocatable components if the argument is a pointer.

2009-06-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40440
* gfortran.dg/alloc_comp_result_2.f90: New test.

From-SVN: r148731
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/alloc_comp_result_2.f90 [new file with mode: 0644]
This page took 0.062712 seconds and 5 git commands to generate.