re PR fortran/39879 (double free or corruption abort with gfortran)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 28 Apr 2009 05:16:19 +0000 (05:16 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 28 Apr 2009 05:16:19 +0000 (05:16 +0000)
commit7d44f531817fdd9165fbbbdf579225164aa8ae51
treef04a8d72271d3d34abda6a4ef6ffa6676d1561bd
parentb2ed71b61a5f8a7d8c001516af6997d3fcaff403
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: r146871
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90 [new file with mode: 0644]