gcc/libgfortran/m4
Thomas Koenig a787f6f9ec memory.c (internal_malloc_size): If size is zero, allocate a single byte.
2011-07-05  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* runtime/memory.c (internal_malloc_size):  If size is zero,
	allocate a single byte.
	* m4/pack.m4 (pack_'rtype_code`):  Don't check for zero size
	for the argument of internal_malloc_size.
	* m4/spread.m4 (spread_'rtype_code`):  Likewise.
	* m4/eoshift1.m4 (eoshift1):  Don't allocate twice.  Don't check
	for zero size for the argument of internal_malloc_size.
	* m4/eoshift3.m4: Don't check for zero size for the argument of
	internal_malloc_size.
	* intrinsics/pack_generic.c (pack_internal):  Likewise.
	(pack_s_internal):  Likewise.
	* intrinsics/cshift0.c (cshift0):  Likewise.
	* intrinsics/spread_generic.c (spread_internal):  Likewise.
	* intrinsics/eoshift0.c (eoshift0):  Likewise.
	* intrinsics/eoshift2.c (eoshift2):  Likewise.
	* generated/eoshift1_16.c: Regenerated.
	* generated/eoshift1_4.c: Regenerated.
	* generated/eoshift1_8.c: Regenerated.
	* generated/eoshift3_16.c: Regenerated.
	* generated/eoshift3_4.c: Regenerated.
	* generated/eoshift3_8.c: Regenerated.
	* generated/pack_c10.c: Regenerated.
	* generated/pack_c16.c: Regenerated.
	* generated/pack_c4.c: Regenerated.
	* generated/pack_c8.c: Regenerated.
	* generated/pack_i16.c: Regenerated.
	* generated/pack_i1.c: Regenerated.
	* generated/pack_i2.c: Regenerated.
	* generated/pack_i4.c: Regenerated.
	* generated/pack_i8.c: Regenerated.
	* generated/pack_r10.c: Regenerated.
	* generated/pack_r16.c: Regenerated.
	* generated/pack_r4.c: Regenerated.
	* generated/pack_r8.c: Regenerated.
	* generated/spread_c10.c: Regenerated.
	* generated/spread_c16.c: Regenerated.
	* generated/spread_c4.c: Regenerated.
	* generated/spread_c8.c: Regenerated.
	* generated/spread_i16.c: Regenerated.
	* generated/spread_i1.c: Regenerated.
	* generated/spread_i2.c: Regenerated.
	* generated/spread_i4.c: Regenerated.
	* generated/spread_i8.c: Regenerated.
	* generated/spread_r10.c: Regenerated.
	* generated/spread_r16.c: Regenerated.
	* generated/spread_r4.c: Regenerated.
	* generated/spread_r8.c: Regenerated.

From-SVN: r175880
2011-07-05 18:16:17 +00:00
..
all.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
any.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
bessel.m4 bessel.m4: Fix printf warning by casting to (long int). 2010-09-06 00:14:14 +02:00
count.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
cshift0.m4 Cleanup memsize types 2011-04-12 22:27:49 +03:00
cshift1.m4
eoshift1.m4 memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
eoshift3.m4 memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
exponent.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
fraction.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
head.m4
iall.m4 re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
iany.m4 re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
iforeach.m4
ifunction_logical.m4 re PR fortran/48066 (Segfault with SUM of zero-sized array) 2011-03-12 22:39:33 +00:00
ifunction.m4 re PR fortran/48066 (Segfault with SUM of zero-sized array) 2011-03-12 22:39:33 +00:00
in_pack.m4
in_unpack.m4
iparity.m4 re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
iparm.m4
matmul.m4
matmull.m4
maxloc0.m4
maxloc1.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
maxval.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
minloc0.m4
minloc1.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
minval.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
misc_specifics.m4
mtype.m4 re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
nearest.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
norm2.m4 mtype.m4 (upcase, [...]): New macros. 2010-08-28 22:10:52 +00:00
pack.m4 memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
parity.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
pow.m4
product.m4 re PR fortran/33197 (Fortran 2008: math functions) 2010-08-27 21:17:45 +02:00
reshape.m4 re PR fortran/49479 (reshape / optionals / zero sized arrays) 2011-06-28 18:59:04 +00:00
rrspacing.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
set_exponent.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
shape.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
spacing.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
specific2.m4
specific.m4
spread.m4 memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
sum.m4
transpose.m4
types.m4
unpack.m4