re PR fortran/39879 (double free or corruption abort with gfortran)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 28 Apr 2009 05:29:44 +0000 (05:29 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 28 Apr 2009 05:29:44 +0000 (05:29 +0000)
commit297c37173212c85e2e0c61cb9a1fd89fa9d44f25
tree4d51ca87e6dcb5e942426982d9b3294b23b6ba85
parent7d44f531817fdd9165fbbbdf579225164aa8ae51
re PR fortran/39879 (double free or corruption abort with gfortran)

2009-04-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39879
* trans_expr.c (gfc_conv_procedure_call): Deep copy a derived
type parentheses argument if it is a variable with allocatable
components.

2009-04-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/39879
* gfortran.dg/alloc_comp_assign_10.f90: New test.

From-SVN: r146872
gcc/fortran/trans-expr.c