re PR fortran/55789 (Needless realloc with array constructor.)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 6 Feb 2013 20:20:08 +0000 (20:20 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 6 Feb 2013 20:20:08 +0000 (20:20 +0000)
commitd0c4e31020ff1f11fe4db2dd1f66f111d2078217
treef118b59c3cb9e7f2b5f9c44077d02a4297f76ba1
parentc362c6741d4511d76d00b3c7c732838539c11a75
re PR fortran/55789 (Needless realloc with array constructor.)

2013-02-06 Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55789
* trans-array.c (trans_array_constructor): Remove condition
'dynamic' = true if the loop ubound is a VAR_DECL.

2013-02-06 Paul Thomas  <pault@gcc.gnu.org>

PR fortran/55789
* gfortran.dg/array_constructor_41.f90: New test.

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