2018-02-17 Thomas Koenig <tkoenig@gcc.gnu.org>
commit81eb77395b935605b00ac5099d297f69eafcba3f
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Feb 2018 15:53:07 +0000 (17 15:53 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Feb 2018 15:53:07 +0000 (17 15:53 +0000)
treeddc78ca39acdca2320f2e6933008c5ee7dc897ed
parent1e3e5ae4d6a1c8e45e86fdd8174bda9a18c7a757
2018-02-17  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84270
* frontend-passes (scalarized_expr):  If the expression
is an assumed size array, leave in the last reference
and pass AR_SECTION instead of AR_FULL to gfc_resolve
in order to avoid an error.

2018-02-17  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84270
* gfortran.dg/inline_matmul_22.f90: New test.

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