re PR fortran/36059 (-frepack-arrays: symbols w/ TARGET should not be repacked)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 14 May 2008 21:44:36 +0000 (21:44 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 14 May 2008 21:44:36 +0000 (21:44 +0000)
commit1c3339af10c27fafd9573c0a77c79144e23ebc51
tree1d799f9b345a459f5af51f936f09660ec4966c47
parent6401bf9cad029c264ff65db946c8e31ce998db13
re PR fortran/36059 (-frepack-arrays: symbols w/ TARGET should not be repacked)

        PR fortran/36059

        * trans-decl.c (gfc_build_dummy_array_decl): Don't repack
        arrays that have the TARGET attribute.

        * gfortran.dg/repack_arrays_1.f90: New test.

From-SVN: r135310
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/repack_arrays_1.f90 [new file with mode: 0644]