[PATCH] PR fortran/83900 -- follow-up to set type

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Jan 20 20:19:00 GMT 2018


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  <kargl@gcc.gnu.org>

	PR fortran/83900
    * simplify.c (gfc_simplify_matmul): Set return type correctly.

2018-01-20  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/83900
	* gfortran.dg/matmul_18.f90: New test.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: z.diff
Type: text/x-diff
Size: 1478 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180120/65b5c408/attachment.bin>


More information about the Fortran mailing list