re PR fortran/41113 (spurious _gfortran_internal_pack)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 13 Feb 2010 12:42:39 +0000 (12:42 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 13 Feb 2010 12:42:39 +0000 (12:42 +0000)
commit17555e7e367ff3b334e7eae368e5c3a9b4485579
treebd94b6f2656e80971481f28a74ece91687210157
parent97d22c8a230e4ce8cf557f6a84f529a473d10b2d
re PR fortran/41113 (spurious  _gfortran_internal_pack)

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

PR fortran/41113
PR fortran/41117
* trans-array.c (gfc_conv_array_parameter): Use
gfc_full_array_ref_p to detect full and contiguous variable
arrays. Full array components and contiguous arrays do not need
internal_pack and internal_unpack.

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

PR fortran/41113
PR fortran/41117
* gfortran.dg/internal_pack_6.f90: New test.

From-SVN: r156749
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/internal_pack_6.f90 [new file with mode: 0644]