gcc/libgfortran
Harald Anlauf b1bee29167 PR libfortran/99218 - matmul on temporary array accesses invalid memory
Do not invoke tuned rank-2 times rank-2 matmul if rank(b) == 1.

libgfortran/ChangeLog:

	PR libfortran/99218
	* m4/matmul_internal.m4: Invoke tuned matmul only for rank(b)>1.
	* generated/matmul_c10.c: Regenerated.
	* generated/matmul_c16.c: Likewise.
	* generated/matmul_c4.c: Likewise.
	* generated/matmul_c8.c: Likewise.
	* generated/matmul_i1.c: Likewise.
	* generated/matmul_i16.c: Likewise.
	* generated/matmul_i2.c: Likewise.
	* generated/matmul_i4.c: Likewise.
	* generated/matmul_i8.c: Likewise.
	* generated/matmul_r10.c: Likewise.
	* generated/matmul_r16.c: Likewise.
	* generated/matmul_r4.c: Likewise.
	* generated/matmul_r8.c: Likewise.
	* generated/matmulavx128_c10.c: Likewise.
	* generated/matmulavx128_c16.c: Likewise.
	* generated/matmulavx128_c4.c: Likewise.
	* generated/matmulavx128_c8.c: Likewise.
	* generated/matmulavx128_i1.c: Likewise.
	* generated/matmulavx128_i16.c: Likewise.
	* generated/matmulavx128_i2.c: Likewise.
	* generated/matmulavx128_i4.c: Likewise.
	* generated/matmulavx128_i8.c: Likewise.
	* generated/matmulavx128_r10.c: Likewise.
	* generated/matmulavx128_r16.c: Likewise.
	* generated/matmulavx128_r4.c: Likewise.
	* generated/matmulavx128_r8.c: Likewise.

gcc/testsuite/ChangeLog:

	PR libfortran/99218
	* gfortran.dg/matmul_21.f90: New test.
2021-03-05 20:58:51 +01:00
..
caf Update copyright years. 2021-01-04 10:26:59 +01:00
config Update copyright years. 2021-01-04 10:26:59 +01:00
generated PR libfortran/99218 - matmul on temporary array accesses invalid memory 2021-03-05 20:58:51 +01:00
ieee libgfortran: Fix PR95647 by changing the interfaces of operators .eq. and .ne. 2021-02-12 07:58:16 -08:00
intrinsics Update copyright years. 2021-01-04 10:26:59 +01:00
io libgfortran: Fix unwanted end-of-record by checking if seen_dollar. 2021-02-10 19:37:52 -08:00
m4 PR libfortran/99218 - matmul on temporary array accesses invalid memory 2021-03-05 20:58:51 +01:00
runtime libgfortran: Fix negation for largest integer [PR81986] 2021-03-03 08:07:16 +01:00
acinclude.m4
aclocal.m4
c99_protos.h Update copyright years. 2021-01-04 10:26:59 +01:00
ChangeLog Daily bump. 2021-03-04 00:16:48 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020 Rotate ChangeLog files - part 1 - add ChangeLog-2020. 2021-01-01 17:27:52 +01:00
config.h.in
configure Update GNU/Hurd configure support 2021-01-05 16:04:14 -07:00
configure.ac libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
configure.host aix: Add GCC64 configuration and FAT target libraries. 2020-06-21 14:14:46 -04:00
gfortran.map
ISO_Fortran_binding.h Update copyright years. 2021-01-04 10:26:59 +01:00
kinds-override.h Update copyright years. 2021-01-04 10:26:59 +01:00
libgfortran.h Update copyright years. 2021-01-04 10:26:59 +01:00
libgfortran.spec.in
libtool-version
Makefile.am libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
Makefile.in libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
mk-kinds-h.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
mk-sik-inc.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
mk-srk-inc.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00