2007-09-10 Paul Thomas <pault@gcc.gnu.org>
commit62e711cd66891fb641f2609a1093481fdd7559d0
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Sep 2007 07:54:17 +0000 (10 07:54 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Sep 2007 07:54:17 +0000 (10 07:54 +0000)
tree753f6eeeb7a4e22a0d712ed3bd01762a993ce044
parente6d0e15268c1a3b1257533bedcfa0500372d14a9
2007-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33370
* trans-expr.c (copyable_array_p):  Add tests that expression
is a variable, that it has no subreferences and that it is a
full array.
(gfc_trans_assignment): Change conditions to suit modifications
to copyable_array_p.

2007-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33370
* gfortran.dg/array_memcpy_5.f90:  New test.

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