https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56342
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Fri Oct 27 17:11:42 2017 New Revision: 254157 URL: https://gcc.gnu.org/viewcvs?rev=254157&root=gcc&view=rev Log: 2017-10-27 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/56342 * simplify.c (is_constant_array_expr): If the expression is a parameter array, call gfc_simplify_expr. 2017-10-27 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/56342 * gfortran.dg/matmul_const.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/matmul_const.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog