2018-01-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/83900
* simplify.c (gfc_simplify_matmul): Delete bogus assertion.
2018-01-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/83900
* gfortran.dg/matmul_17.f90: New test.
From-SVN: r256912
+2018-01-19 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/83900
+ * simplify.c (gfc_simplify_matmul): Delete bogus assertion.
+
2018-01-17 Harald Anlauf <anlauf@gmx.de>
PR fortran/83864
|| !is_constant_array_expr (matrix_b))
return NULL;
- gcc_assert (gfc_compare_types (&matrix_a->ts, &matrix_b->ts));
result = gfc_get_array_expr (matrix_a->ts.type,
matrix_a->ts.kind,
&matrix_a->where);
+2018-01-19 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/83900
+ * gfortran.dg/matmul_17.f90: New test.
+
2018-01-19 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/80768
--- /dev/null
+! { dg-do run }
+! PR Fortran/83900
+! Contributed by Gerhard Steinmetz <gscfq t t-online dot de>
+program p
+ integer, parameter :: a(3,2) = 1
+ real, parameter :: b(2,3) = 2
+ real, parameter :: c(3,3) = matmul(a, b)
+ if (any(c /= 4.)) call abort
+end