gcc/libgfortran/m4
Thomas Koenig cfdf6ff61b re PR fortran/81581 (runtime checks for DIM argument of intrinsic SUM missing)
2017-07-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/81581
	* m4/ifuntion.m4 (name`'rtype_qual`_'atype_code): Perform check
	for dim.
	(`m'name`'rtype_qual`_'atype_code): Likewise. Change type of rank
	and tim to index_type.
	(`s'name`'rtype_qual`_'atype_code): Perform check for dim.
	* generated/iall_i16.c: Regenerated.
	* generated/iall_i1.c: Regenerated.
	* generated/iall_i2.c: Regenerated.
	* generated/iall_i4.c: Regenerated.
	* generated/iall_i8.c: Regenerated.
	* generated/iany_i16.c: Regenerated.
	* generated/iany_i1.c: Regenerated.
	* generated/iany_i2.c: Regenerated.
	* generated/iany_i4.c: Regenerated.
	* generated/iany_i8.c: Regenerated.
	* generated/iparity_i16.c: Regenerated.
	* generated/iparity_i1.c: Regenerated.
	* generated/iparity_i2.c: Regenerated.
	* generated/iparity_i4.c: Regenerated.
	* generated/iparity_i8.c: Regenerated.
	* generated/maxloc1_16_i16.c: Regenerated.
	* generated/maxloc1_16_i1.c: Regenerated.
	* generated/maxloc1_16_i2.c: Regenerated.
	* generated/maxloc1_16_i4.c: Regenerated.
	* generated/maxloc1_16_i8.c: Regenerated.
	* generated/maxloc1_16_r10.c: Regenerated.
	* generated/maxloc1_16_r16.c: Regenerated.
	* generated/maxloc1_16_r4.c: Regenerated.
	* generated/maxloc1_16_r8.c: Regenerated.
	* generated/maxloc1_4_i16.c: Regenerated.
	* generated/maxloc1_4_i1.c: Regenerated.
	* generated/maxloc1_4_i2.c: Regenerated.
	* generated/maxloc1_4_i4.c: Regenerated.
	* generated/maxloc1_4_i8.c: Regenerated.
	* generated/maxloc1_4_r10.c: Regenerated.
	* generated/maxloc1_4_r16.c: Regenerated.
	* generated/maxloc1_4_r4.c: Regenerated.
	* generated/maxloc1_4_r8.c: Regenerated.
	* generated/maxloc1_8_i16.c: Regenerated.
	* generated/maxloc1_8_i1.c: Regenerated.
	* generated/maxloc1_8_i2.c: Regenerated.
	* generated/maxloc1_8_i4.c: Regenerated.
	* generated/maxloc1_8_i8.c: Regenerated.
	* generated/maxloc1_8_r10.c: Regenerated.
	* generated/maxloc1_8_r16.c: Regenerated.
	* generated/maxloc1_8_r4.c: Regenerated.
	* generated/maxloc1_8_r8.c: Regenerated.
	* generated/maxval_i16.c: Regenerated.
	* generated/maxval_i1.c: Regenerated.
	* generated/maxval_i2.c: Regenerated.
	* generated/maxval_i4.c: Regenerated.
	* generated/maxval_i8.c: Regenerated.
	* generated/maxval_r10.c: Regenerated.
	* generated/maxval_r16.c: Regenerated.
	* generated/maxval_r4.c: Regenerated.
	* generated/maxval_r8.c: Regenerated.
	* generated/minloc1_16_i16.c: Regenerated.
	* generated/minloc1_16_i1.c: Regenerated.
	* generated/minloc1_16_i2.c: Regenerated.
	* generated/minloc1_16_i4.c: Regenerated.
	* generated/minloc1_16_i8.c: Regenerated.
	* generated/minloc1_16_r10.c: Regenerated.
	* generated/minloc1_16_r16.c: Regenerated.
	* generated/minloc1_16_r4.c: Regenerated.
	* generated/minloc1_16_r8.c: Regenerated.
	* generated/minloc1_4_i16.c: Regenerated.
	* generated/minloc1_4_i1.c: Regenerated.
	* generated/minloc1_4_i2.c: Regenerated.
	* generated/minloc1_4_i4.c: Regenerated.
	* generated/minloc1_4_i8.c: Regenerated.
	* generated/minloc1_4_r10.c: Regenerated.
	* generated/minloc1_4_r16.c: Regenerated.
	* generated/minloc1_4_r4.c: Regenerated.
	* generated/minloc1_4_r8.c: Regenerated.
	* generated/minloc1_8_i16.c: Regenerated.
	* generated/minloc1_8_i1.c: Regenerated.
	* generated/minloc1_8_i2.c: Regenerated.
	* generated/minloc1_8_i4.c: Regenerated.
	* generated/minloc1_8_i8.c: Regenerated.
	* generated/minloc1_8_r10.c: Regenerated.
	* generated/minloc1_8_r16.c: Regenerated.
	* generated/minloc1_8_r4.c: Regenerated.
	* generated/minloc1_8_r8.c: Regenerated.
	* generated/minval_i16.c: Regenerated.
	* generated/minval_i1.c: Regenerated.
	* generated/minval_i2.c: Regenerated.
	* generated/minval_i4.c: Regenerated.
	* generated/minval_i8.c: Regenerated.
	* generated/minval_r10.c: Regenerated.
	* generated/minval_r16.c: Regenerated.
	* generated/minval_r4.c: Regenerated.
	* generated/minval_r8.c: Regenerated.
	* generated/norm2_r10.c: Regenerated.
	* generated/norm2_r16.c: Regenerated.
	* generated/norm2_r4.c: Regenerated.
	* generated/norm2_r8.c: Regenerated.
	* generated/parity_l16.c: Regenerated.
	* generated/parity_l1.c: Regenerated.
	* generated/parity_l2.c: Regenerated.
	* generated/parity_l4.c: Regenerated.
	* generated/parity_l8.c: Regenerated.
	* generated/product_c10.c: Regenerated.
	* generated/product_c16.c: Regenerated.
	* generated/product_c4.c: Regenerated.
	* generated/product_c8.c: Regenerated.
	* generated/product_i16.c: Regenerated.
	* generated/product_i1.c: Regenerated.
	* generated/product_i2.c: Regenerated.
	* generated/product_i4.c: Regenerated.
	* generated/product_i8.c: Regenerated.
	* generated/product_r10.c: Regenerated.
	* generated/product_r16.c: Regenerated.
	* generated/product_r4.c: Regenerated.
	* generated/product_r8.c: Regenerated.
	* generated/sum_c10.c: Regenerated.
	* generated/sum_c16.c: Regenerated.
	* generated/sum_c4.c: Regenerated.
	* generated/sum_c8.c: Regenerated.
	* generated/sum_i16.c: Regenerated.
	* generated/sum_i1.c: Regenerated.
	* generated/sum_i2.c: Regenerated.
	* generated/sum_i4.c: Regenerated.
	* generated/sum_i8.c: Regenerated.
	* generated/sum_r10.c: Regenerated.
	* generated/sum_r16.c: Regenerated.
	* generated/sum_r4.c: Regenerated.
	* generated/sum_r8.c: Regenerated.

2017-07-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/81581
	* gfortran.dg/dim_sum_1.f90: New test case.
	* gfortran.dg/dim_sum_2.f90: New test case.
	* gfortran.dg/dim_sum_3.f90: New test case.

From-SVN: r250735
2017-07-31 09:34:36 +00:00
..
all.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
any.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
bessel.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
count.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
cshift0.m4 re PR fortran/52473 (CSHIFT slow - inline it?) 2017-06-18 18:04:19 +00:00
cshift1.m4 re PR fortran/52473 (CSHIFT slow - inline it?) 2017-06-24 07:07:56 +00:00
cshift1a.m4 re PR fortran/52473 (CSHIFT slow - inline it?) 2017-06-24 07:07:56 +00:00
eoshift1.m4 eoshift2.c (eoshift2): Use memcpy for innermost copy where possible. 2017-07-09 19:09:33 +00:00
eoshift3.m4 eoshift2.c (eoshift2): Use memcpy for innermost copy where possible. 2017-07-09 19:09:33 +00:00
head.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iall.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iany.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iforeach.m4 re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3) 2017-03-10 19:42:46 +00:00
ifunction_logical.m4 re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3) 2017-03-10 19:42:46 +00:00
ifunction.m4 re PR fortran/81581 (runtime checks for DIM argument of intrinsic SUM missing) 2017-07-31 09:34:36 +00:00
in_pack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
in_unpack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iparity.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
iparm.m4
matmul_internal.m4 re PR fortran/80975 (matmul for zero-length arrays) 2017-06-06 19:18:37 +00:00
matmul.m4 re PR libfortran/78379 (Processor-specific versions for matmul) 2017-05-25 21:51:27 +00:00
matmulavx128.m4 re PR libfortran/78379 (Processor-specific versions for matmul) 2017-05-25 21:51:27 +00:00
matmull.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
maxloc0.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
maxloc1.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
maxval.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
minloc0.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
minloc1.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
minval.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
misc_specifics.m4
mtype.m4
norm2.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
pack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
parity.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
pow.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
product.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
reshape.m4 re PR libfortran/79956 (many new -Wmaybe-uninitialized warnings with bootstrap-O3) 2017-03-17 21:27:08 +00:00
shape.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
specific2.m4
specific.m4
spread.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
sum.m4 Update copyright years. 2017-01-01 13:07:43 +01:00
types.m4
unpack.m4 Update copyright years. 2017-01-01 13:07:43 +01:00