https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61406
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Mon Jun 9 14:45:32 2014 New Revision: 211375 URL: http://gcc.gnu.org/viewcvs?rev=211375&root=gcc&view=rev Log: 2014-06-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61406 * trans-stmt.c (trans_associate_var): Check that array constructors are constant for direct reference. 2014-06-09 Paul Thomas <pa...@gcc.gnu.org> PR fortran/61406 * gfortran.dg/associate_17.f90 : New test Added: branches/gcc-4_9-branch/gcc/testsuite/gfortran.dg/associate_17.f90 Modified: branches/gcc-4_9-branch/gcc/fortran/ChangeLog branches/gcc-4_9-branch/gcc/fortran/trans-stmt.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog