OSDN Git Service

2009-06-19 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2009 21:58:27 +0000 (21:58 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 2009 21:58:27 +0000 (21:58 +0000)
commitcc2f46ba63438e7f7490239cbe54b03955c494d7
tree25cce1767c043508102a8305bca778fcf01421fb
parent01d4d739b490bd86a493ecb4c90400644c9986d8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148731 138bc75d-0d04-0410-961f-82ee72b054a4
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]