https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131
--- Comment #32 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Mon May 1 17:45:52 2017 New Revision: 247441 URL: https://gcc.gnu.org/viewcvs?rev=247441&root=gcc&view=rev Log: 2017-05-01 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/37131 * frontend-passes.c (inline_matmul_assign): Also check bounds for allocatable lhs and matrix-vector-multiplication. 2017-05-01 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/37131 * gfortran.dg/matmul_bounds_11.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/matmul_bounds_11.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/frontend-passes.c trunk/gcc/testsuite/ChangeLog