[patch, fortran] PR36355: fix matmul argument type checking

Daniel Franke franke.daniel@gmail.com
Tue Dec 9 16:41:00 GMT 2008

This patch fixes an issue with MATMUL argument checking. Although pre-approved 
for trunk by Thomas Koenig, I'll wait for 48 hours before committing.

2008-12-09  Daniel Franke  <franke.daniel@gmail.com>

	* PR fortran/36355
	* check.c (gfc_check_matmul): Fixed error message for invalid types to
	correctly identify the offending argument, added check for mismatching types.

2008-12-09  Daniel Franke  <franke.daniel@gmail.com>

	* PR fortran/36355
	* gfortran.dg/matmul_argument_types.f90: New.

Regression tested on i686-pc-linux-gnu.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36355.diff
Type: text/x-patch
Size: 2883 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081209/f25c4d7f/attachment.bin>

More information about the Gcc-patches mailing list