2016-01-24 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jan 2016 09:11:50 +0000 (09:11 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jan 2016 09:11:50 +0000 (09:11 +0000)
commit9f2e86173a7194647c3dd5efdf058811bbb464d7
treec22ce9dc659223cd1845e0b31b222fe1bb67fcc1
parentaa8c99e88ab037efee37ee044e5f3f37d9f954c5
2016-01-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/66094
* frontend-passes.c (enum matrix_case):  Add case A2B2T for
MATMUL(A,TRANSPoSE(B)) where A and B are rank 2.
(inline_limit_check):  Also add A2B2T.
(matmul_lhs_realloc):  Handle A2B2T.
(check_conjg_variable):  Rename to
(check_conjg_transpose_variable):  and also count TRANSPOSE.
(inline_matmul_assign):  Handle A2B2T.

2016-01-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/66094
* gfortran.dg/inline_matmul_13.f90:  New test.
* gfortran.dg/matmul_bounds_8.f90:  New test.
* gfortran.dg/matmul_bounds_9.f90:  New test.
* gfortran.dg/matmul_bounds_10.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232774 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/inline_matmul_13.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/matmul_bounds_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/matmul_bounds_8.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/matmul_bounds_9.f90 [new file with mode: 0644]