re PR fortran/71795 (Two Bugs in array constructors (optimization))
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 22 Jul 2016 10:38:32 +0000 (10:38 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 22 Jul 2016 10:38:32 +0000 (10:38 +0000)
commit1603ebe016da010dcfe264901c4f9a07f9d89e63
tree3079ee3a42a7d958ac9f39d6af5f07745081498f
parentbc91c4361527fb229ad47f20a45de0b3160f2de9
re PR fortran/71795 (Two Bugs in array constructors (optimization))

2016-07-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/71795
* frontend-passes.c (combine_array_constructor):  Don't
do anything if the expression is inside an array iterator.

2016-07-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/71795
* gfortran.dg/constructor_50.f90:  New test.

From-SVN: r238638
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_constructor_50.f90 [new file with mode: 0644]