gcc/libgfortran/intrinsics
Janus Weil a15b72fa7f re PR fortran/41478 (Corrupted memory using PACK for derived-types with allocated components)
libgfortran/
2009-12-06  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41478
	PR fortran/42268
	* intrinsics/pack_generic.c (pack): Add safety checks for the case that
	'vector' is NULL.


gcc/testsuite/
2009-12-06  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/41478
	PR fortran/42268
	* gfortran.dg/intrinsic_pack_5.f90: New test.

From-SVN: r155024
2009-12-06 23:57:13 +01:00
..
abort.c
access.c
args.c
associated.c
bit_intrinsics.c
c99_functions.c
chdir.c
chmod.c
clock.c
cpu_time.c
cshift0.c
ctime.c
date_and_time.c
dprod_r8.f90
dtime.c re PR libfortran/41157 (dtime not consistent in times reported) 2009-08-25 01:47:23 +00:00
env.c
eoshift0.c
eoshift2.c
erfc_scaled_inc.c
erfc_scaled.c
etime.c
exit.c
extends_type_of.c backport: re PR fortran/42053 ([OOP] SELECT TYPE: reject duplicate CLASS IS blocks) 2009-11-30 21:43:06 +01:00
f2c_specifics.F90
fnum.c
gerror.c
getcwd.c
getlog.c re PR fortran/41219 (libgfortran build warnings) 2009-09-04 11:25:00 +02:00
getXid.c
hostnm.c
ierrno.c
ishftc.c
iso_c_binding.c PR libfortran/41219 Fix build warnings 2009-10-31 00:37:47 +02:00
iso_c_binding.h
iso_c_generated_procs.c
kill.c
link.c
malloc.c
move_alloc.c
mvbits.c
pack_generic.c re PR fortran/41478 (Corrupted memory using PACK for derived-types with allocated components) 2009-12-06 23:57:13 +01:00
perror.c
rand.c
random.c
rename.c
reshape_generic.c
reshape_packed.c
selected_char_kind.c
selected_int_kind.f90
selected_real_kind.f90
signal.c
size.c
sleep.c
spread_generic.c
stat.c
string_intrinsics_inc.c
string_intrinsics.c
symlnk.c
system_clock.c
system.c
time_1.h re PR libfortran/41157 (dtime not consistent in times reported) 2009-08-25 01:47:23 +00:00
time.c
transpose_generic.c
umask.c
unlink.c
unpack_generic.c pack_generic.c (pack_internal): Remove unused zero_sized variable. 2009-11-28 21:29:51 +01:00