gcc/libgfortran/m4
Tobias Burnus 8811602900 re PR fortran/30512 ([4.1 only] MAXVAL() incorrect for zero-size int arrays, and for -HUGE-1 maximum values.)
fortran/
2007-02-09  Tobias Burnus  <burnus@net-b.de>

        PR fortran/30512
        * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc,
	  gfc_conv_intrinsic_minmaxval): Use HUGE-1 for most negative integer.

testsuite/
2007-02-09  Tobias Burnus  <burnus@net-b.de>

        PR fortran/30512
        * gfortran.dg/maxlocval_1.f90: New test.

libgfortran/
2007-02-09  Thomas Koenig  <Thomas.Koenig@online.de>
	    Tobias Burnus  <burnus@net-b.de>

        PR fortran/30512
        * m4/iparm.m4: Use HUGE-1 for most negative integer.
	* generated/maxloc1_8_i4.c: Regenerate.
	* generated/maxloc0_8_i8.c: Regenerate.
	* generated/maxloc1_16_i4.c: Regenerate.
	* generated/maxloc0_16_i8.c: Regenerate.
	* generated/maxval_i4.c: Regenerate.
	* generated/maxloc1_4_i8.c: Regenerate.
	* generated/maxloc0_16_i16.c: Regenerate.
	* generated/maxloc1_4_i16.c: Regenerate.
	* generated/maxloc0_8_i16.c: Regenerate.
	* generated/maxloc0_4_i4.c: Regenerate.
	* generated/maxloc1_8_i8.c: Regenerate.
	* generated/maxloc0_8_i4.c: Regenerate.
	* generated/maxloc0_16_i4.c: Regenerate.
	* generated/maxloc1_16_i8.c: Regenerate.
	* generated/maxloc1_4_i4.c: Regenerate.
	* generated/maxval_i8.c: Regenerate.
	* generated/maxloc0_4_i16.c: Regenerate.
	* generated/maxloc1_8_i16.c: Regenerate.
	* generated/maxloc0_4_i8.c: Regenerate.
	* generated/maxloc1_16_i16.c: Regenerate.
	* generated/maxval_i16.c: Regenerate.

From-SVN: r121777
2007-02-09 22:56:06 +01:00
..
all.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
any.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
count.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
cshift1.m4 in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
eoshift1.m4 in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
eoshift3.m4 in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
exponent.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
fraction.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
head.m4 All files: Update FSF address. 2005-08-17 02:49:08 +00:00
iforeach.m4 in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
ifunction.m4 re PR fortran/30321 (program crash for SUM applied to zero-size array) 2006-12-30 13:16:36 +00:00
in_pack.m4 in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
in_unpack.m4 in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
iparm.m4 re PR fortran/30512 ([4.1 only] MAXVAL() incorrect for zero-size int arrays, and for -HUGE-1 maximum values.) 2007-02-09 22:56:06 +01:00
matmul.m4 re PR fortran/26025 (Optionally use BLAS for matmul) 2006-10-22 07:41:48 +00:00
matmull.m4 in_pack.m4: Add TODO comment about detecting temporaries... 2006-06-06 11:10:09 +03:00
maxloc0.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
maxloc1.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
maxval.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
minloc0.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
minloc1.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
minval.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
misc_specifics.m4 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
mtype.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
nearest.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
pow.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
product.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
reshape.m4 re PR libfortran/27895 (problem with RESHAPE and zero-sized arrays) 2006-11-03 11:51:09 +00:00
rrspacing.m4 spacing.m4: Use scalbn[f,l] if ldexp[f,l] is unavailable. 2006-10-13 19:08:37 +00:00
set_exponent.m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
shape.m4 in_pack.m4: Add TODO comment about detecting temporaries... 2006-06-06 11:10:09 +03:00
spacing.m4 spacing.m4: Use scalbn[f,l] if ldexp[f,l] is unavailable. 2006-10-13 19:08:37 +00:00
specific2.m4 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
specific.m4 gfortran.h (gfc_options_t): Add flag_allow_leading_underscore. 2007-01-20 18:33:20 +00:00
sum.m4 re PR fortran/20935 (failed assertion for maxloc(n, mask=.true.)) 2006-03-20 21:56:00 +00:00
transpose.m4 in_pack.m4: Add TODO comment about detecting temporaries... 2006-06-06 11:10:09 +03:00
types.m4 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00