OSDN Git Service

2010-03-02 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Mar 2010 11:58:02 +0000 (11:58 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Mar 2010 11:58:02 +0000 (11:58 +0000)
commit34de9f8b3f212ffcb65ba1f4bb8f697c6ecf336a
tree822cb28ea2dcad6f2050a6923d4526c2f85af09e
parent44f1d7db60ef0b1ff67fcd94b903865d551ab5af
2010-03-02  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43180
* trans-array.c (gfc_conv_array_parameter): A full array of
derived type need not be restricted to a symbol without an
array spec to use the call to gfc_conv_expr_descriptor.

PR fortran/43173
* trans-array.c (gfc_conv_array_parameter): Contiguous refs to
allocatable arrays do not need temporaries.

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

PR fortran/43180
* gfortran.dg/internal_pack_10.f90: New test.

PR fortran/43173
* gfortran.dg/internal_pack_11.f90: New test.

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