re PR fortran/37131 (inline matmul for small matrix sizes)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 29 May 2017 06:03:23 +0000 (06:03 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 29 May 2017 06:03:23 +0000 (06:03 +0000)
commitbbe3927b62ae4318c5319da379642aafbf6d15be
treee4bc003a789e1d99ec54c8f1bdbe14c3caf948e5
parent3779a0f8b2f09e4d0653f42d90f1f1f24a0b8708
re PR fortran/37131 (inline matmul for small matrix sizes)

2017-05-29  Thomas Koenig  <tkoenig@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  <tkoenig@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.

From-SVN: r248553
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/inline_matmul_17.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/promotion_2.f90
gcc/testsuite/gfortran.dg/transpose_optimization_1.f90