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
any.m4
bessel.m4
count.m4
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
iany.m4
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
iparm.m4
matmul.m4
matmull.m4
maxloc0.m4
maxloc1.m4
maxval.m4
minloc0.m4
minloc1.m4
minval.m4
misc_specifics.m4
mtype.m4
nearest.m4 Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
norm2.m4
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
pow.m4
product.m4
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