re PR fortran/43072 (unneeded temporary (s=s+f(a)))
commitf80c558f5903ad6455cd5fc570f40d6efee44289
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 22 Feb 2010 05:43:57 +0000 (22 05:43 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 22 Feb 2010 05:43:57 +0000 (22 05:43 +0000)
tree40034f5c70e709d78c08efea3e3c58c1b9aa0384
parent3039c3948e6984cff6703f51be03b8dabb86c6df
re PR fortran/43072 (unneeded temporary (s=s+f(a)))

2010-02-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43072
* dependency.c (gfc_full_array_ref_p): Check for contiguous by
checking the rest of the dimensions for elements.

2010-02-22  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43072
* gfortran.dg/internal_pack_6.f90: Number of 'packs' now zero.
* gfortran.dg/internal_pack_9.f90: New test.

From-SVN: r156949
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/internal_pack_6.f90
gcc/testsuite/gfortran.dg/internal_pack_9.f90 [new file with mode: 0644]