[Bug fortran/56342] MATMUL with PARAMETER: Simplification usually doesn't work

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 27 17:12:00 GMT 2017


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  <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.


Added:
    trunk/gcc/testsuite/gfortran.dg/matmul_const.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list