https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71795
--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Tue Aug 9 20:33:00 2016 New Revision: 239302 URL: https://gcc.gnu.org/viewcvs?rev=239302&root=gcc&view=rev Log: 2016-08-09 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/71795 * frontend-passes.c (combine_array_constructor): Don't do anything if the expression is inside an array iterator. 2016-08-09 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/71795 * gfortran.dg/array_constructor_50.f90: New test. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/array_constructor_50.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/frontend-passes.c branches/gcc-5-branch/gcc/testsuite/ChangeLog