gcc/libgfortran
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
..
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
generated pack_generic.c (pack_internal): Remove unused zero_sized variable. 2009-11-28 21:29:51 +01:00
intrinsics re PR fortran/41478 (Corrupted memory using PACK for derived-types with allocated components) 2009-12-06 23:57:13 +01:00
io PR libfortran/40812 Large file support for MinGW 2009-12-04 18:28:44 +02:00
m4 pack_generic.c (pack_internal): Remove unused zero_sized variable. 2009-11-28 21:29:51 +01:00
runtime pack.m4 (pack_'rtype_code`): Use count_0 for counting true values in a logical array. 2009-08-30 09:02:01 +00:00
acinclude.m4 re PR fortran/31832 (FAIL: gfortran.dg/integer_exponentiation_2.f90 at -O1 and above) 2008-12-29 20:10:00 +00:00
aclocal.m4 Regenerate tree using Autoconf 2.64 and Automake 1.11. 2009-08-22 13:22:20 +00:00
c99_protos.h re PR fortran/33197 (Fortran 2008: math functions) 2009-07-25 21:39:07 +02:00
ChangeLog re PR fortran/41478 (Corrupted memory using PACK for derived-types with allocated components) 2009-12-06 23:57:13 +01:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2005 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2006 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2007 Rotate Fortran ChangeLogs. 2008-01-02 18:54:50 +01:00
config.h.in configure.ac: Check for GFORTRAN_C99_1.1 funcs in OS libm. 2009-09-22 12:23:06 +02:00
configure Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
configure.ac configure.ac: Check for GFORTRAN_C99_1.1 funcs in OS libm. 2009-09-22 12:23:06 +02:00
configure.host configure.host: Define ieee_flags and set it to -mieee for sh. 2009-07-30 22:56:08 +00:00
fmain.c Add comment saying file is deprecated 2009-08-14 20:54:27 +03:00
gfortran.map backport: re PR fortran/42053 ([OOP] SELECT TYPE: reject duplicate CLASS IS blocks) 2009-11-30 21:43:06 +01:00
libgfortran.h PR libfortran/40812 Large file support for MinGW 2009-12-04 18:28:44 +02:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
Makefile.am backport: re PR fortran/42053 ([OOP] SELECT TYPE: reject duplicate CLASS IS blocks) 2009-11-30 21:43:06 +01:00
Makefile.in Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
mk-kinds-h.sh mk-kinds-h.sh: Make -Wunused-variable proof. 2008-09-10 18:39:15 +02:00
mk-sik-inc.sh mk-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00
mk-srk-inc.sh mk-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00