https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131
--- Comment #33 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Mon May 29 06:03:23 2017 New Revision: 248553 URL: https://gcc.gnu.org/viewcvs?rev=248553&root=gcc&view=rev Log: 2017-05-29 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/37131 * frontend-passes.c (check_conjg_transpose_variable): Add prototype. (has_dimen_vector_ref): Likewise (matmul_temp_args): New function. Add prototype. (optimize_namespace): Call matmul_temp_args. 2017-05-29 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/37131 * gfortran.dg/promotion_2.f90: Add -finline-matmul-limit=0 to flags. * gfortran.dg/transpose_optimization_1.f90: Likewise. * gfortran.dg/inline_matmul_17.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/inline_matmul_17.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/frontend-passes.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/promotion_2.f90 trunk/gcc/testsuite/gfortran.dg/transpose_optimization_1.f90