re PR fortran/56342 (MATMUL with PARAMETER: Simplification usually doesn't work)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 27 Oct 2017 17:11:42 +0000 (17:11 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 27 Oct 2017 17:11:42 +0000 (17:11 +0000)
commit6c6bde30706c29ffe41415f95ef3f48b6712cbe7
tree71e73a69c0cee745422b73c9d7ac3695e5d64c23
parenta09ca93a71be0b9b3c2f8ff0181293a6036f0282
re PR fortran/56342 (MATMUL with PARAMETER: Simplification usually doesn't work)

2017-10-27  Thomas Koenig  <tkoenig@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  <tkoenig@gcc.gnu.org>

PR fortran/56342
* gfortran.dg/matmul_const.f90: New test.

From-SVN: r254157
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/matmul_const.f90 [new file with mode: 0644]