]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/84270 (optimization bug with assumed size array argument)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 17 Feb 2018 15:53:07 +0000 (15:53 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 17 Feb 2018 15:53:07 +0000 (15:53 +0000)
commitaab206388590f16862d117eb5b7305586c92cb30
treeddc78ca39acdca2320f2e6933008c5ee7dc897ed
parent7d6ce202609bd8bcbd8618507cef32e793b477e4
re PR fortran/84270 (optimization bug with assumed size array argument)

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.

From-SVN: r257783
gcc/fortran/ChangeLog
gcc/fortran/frontend-passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/inline_matmul_22.f90 [new file with mode: 0644]