https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77915
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sun Oct 16 18:16:29 2016 New Revision: 241217 URL: https://gcc.gnu.org/viewcvs?rev=241217&root=gcc&view=rev Log: 2016-10-16 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/77915 * frontend-passes.c (inline_matmul_assign): Return early if inside a FORALL statement. 2016-10-16 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/77915 * gfortran.dg/matmul_11.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/matmul_11.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/frontend-passes.c branches/gcc-6-branch/gcc/testsuite/ChangeLog