gcc/libgfortran
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
..
config
generated re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
intrinsics re PR libfortran/25577 (gfortran routine mvbits returns wrong answer.) 2006-02-08 00:52:37 +01:00
io re PR libfortran/26499 (gfortran - End of File incorrectly positioned after binary I/O.) 2006-03-10 03:15:36 +00:00
m4 re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
runtime re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-03 16:18:46 +00:00
acinclude.m4
aclocal.m4 configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
c99_protos.h
ChangeLog re PR libfortran/25378 ([Fortran 2003] maxloc for all-false mask) 2006-03-13 22:49:56 +00:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2005 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
config.h.in configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
configure configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the... 2006-01-16 22:03:14 +00:00
configure.ac configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the... 2006-01-16 22:03:14 +00:00
configure.host
fmain.c
libgfortran.h re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-03 16:18:46 +00:00
libtool-version
Makefile.am
Makefile.in configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh