2007-07-28 Paul Thomas <pault@gcc.gnu.org>
commit89032e9a61c1620497e6a1f78185d1af680ad9bd
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jul 2007 05:29:06 +0000 (28 05:29 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jul 2007 05:29:06 +0000 (28 05:29 +0000)
treedfdc730eb913c4d4badc7744a62fc9b1ab0f8521
parentfc232bf851317df41f8bc63a91963c573f6839e8
2007-07-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32880
* trans-expr.c (gfc_trans_scalar_assign): Revert to fixed order
for lse and rse pre expressions, for derived types with
allocatable components.  Instead, assign the lhs to a temporary
and deallocate after the assignment.

2007-07-28  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32880
* gfortran.dg/alloc_comp_assign_6.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127011 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/alloc_comp_assign_6.f90 [new file with mode: 0644]