gcc/libgfortran/runtime
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
..
backtrace.c PR 48931 Use async-signal-safe execve instead of execvp 2011-05-29 23:13:52 +03:00
bounds.c pack.m4 (pack_'rtype_code`): Use count_0 for counting true values in a logical array. 2009-08-30 09:02:01 +00:00
compile_options.c PR 48931 Use async-signal-safe execve instead of execvp 2011-05-29 23:13:52 +03:00
convert_char.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
environ.c PR 48915 Abort handling 2011-05-14 11:44:09 +03:00
error.c PR 48915 Abort handling 2011-05-14 11:44:09 +03:00
fpu.c cshift0.c: Update license to GPL3+exception. 2009-08-23 19:10:25 +00:00
in_pack_generic.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
in_unpack_generic.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
main.c PR 48931 Use async-signal-safe execve instead of execvp 2011-05-29 23:13:52 +03:00
memory.c memory.c (internal_malloc_size): If size is zero, allocate a single byte. 2011-07-05 18:16:17 +00:00
pause.c Error printing thread safety, remove GFORTRAN_USE_STDERR 2011-05-14 10:55:51 +03:00
select_inc.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
select.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
stop.c stop.c (stop_string,error_stop_string): Minor cleanup. 2011-05-22 21:34:16 +02:00
string.c Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00