On 01/20/2018 12:19 PM, Steve Kargl wrote: > The attache patch is a follow-up to my patch for > PR fortran/83900, which removed a bogus assert. > This allowed gfc_simplify_matmul to do its job, > except it did not properly set the type of the > result. The attach fixes that issue. > > Regression tested on x86_64-*-freebsd. > OK to commit? > > > 2018-01-20 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/83900 > * simplify.c (gfc_simplify_matmul): Set return type correctly. > > 2018-01-20 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/83900 > * gfortran.dg/matmul_18.f90: New test. >
OK, thanks for fix. Jerry