gcc/libgfortran/m4
Paul Thomas a4b9e93e5d re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask)
2006-03-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25378
	* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Set the initial position to zero and
	modify the condition for updating it, to implement the F2003 requirement for all(mask)
	is false.

2006-03-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25378
	* libgfortran/m4/minloc1.m4: Set the initial position to zero and modify the condition for
	updating it, to implement the F2003 requirement for all(mask).eq.false.
	* libgfortran/m4/maxloc1.m4: The same.
	* libgfortran/m4/iforeach.m4: The same.
	* libgfortran/m4/minloc0.m4: The same.
	* libgfortran/m4/maxloc0.m4: The same.
	* libgfortran/generated/maxloc0_16_i16.c: Regenerated, together with 41 others.
	* libgfortran/generated/minloc0_16_i16.c: Regenerated, together with 41 others.

2006-03-13  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25378
	* gfortran.fortran-torture/execute/intrinsic_mmloc_3.f90: Expand test to include more
	permuatations of mask and index.
	* testsuite/gfortran.dg/scalar_mask_1.f90: Modify last test to respond to F2003 spec.
	that the position returned for an all false mask && condition is zero.

From-SVN: r112028
2006-03-13 22:49:56 +00:00
..
all.m4
any.m4
count.m4
cshift1.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
dotprod.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
dotprodc.m4 re PR libfortran/24903 (dotprod should use __builtin_conj) 2006-02-16 07:52:22 +00:00
dotprodl.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
eoshift1.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
eoshift3.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
exponent.m4
fraction.m4
head.m4
iforeach.m4 re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
ifunction.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
in_pack.m4
in_unpack.m4
iparm.m4
matmul.m4 Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h. 2005-12-13 05:23:12 +00:00
matmull.m4 re PR libfortran/21468 (vectorizing libfortran) 2005-11-14 21:48:31 +02:00
maxloc0.m4 re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
maxloc1.m4 re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
maxval.m4
minloc0.m4 re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
minloc1.m4 re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
minval.m4
mtype.m4
nearest.m4
pow.m4
product.m4
reshape.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
set_exponent.m4
shape.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
specific2.m4
specific.m4
sum.m4
transpose.m4 libgfortran ChangeLog: 2005-11-27 23:03:33 +02:00
types.m4