gcc/libgfortran
Thomas Koenig 7ad99d60f4 re PR fortran/35990 (run-time abort for PACK of run-time zero sized array)
2008-05-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/35990
	* intrinsics/pack_generic.c:  If an extent of the source
	array is less then zero, set it to zero.  Set the source
	pointer to NULL if the source size is zero.  Set the total
	number of elements to zero if the vector has an extent
	less or equal to zero.
	* m4/pack.m4:  Set the source pointer to NULL if the
	source array is zero-sized.  Set the total number of
	elemements to zero if the vector has an extent less or
	equal to zero.
	* generated/pack_i1.c:  Regenerated.
	* generated/pack_i2.c:  Regenerated.
	* generated/pack_i4.c:  Regenerated.
	* generated/pack_i8.c:  Regenerated.
	* generated/pack_i16.c:  Regenerated.
	* generated/pack_r4.c:  Regenerated.
	* generated/pack_r8.c:  Regenerated.
	* generated/pack_r10.c:  Regenerated.
	* generated/pack_r16.c:  Regenerated.
	* generated/pack_c4.c:  Regenerated.
	* generated/pack_c8.c:  Regenerated.
	* generated/pack_c10.c:  Regenerated.
	* generated/pack_c16.c:  Regenerated.

2008-05-04  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/35990
	* gfortran.dg/intrinsic_pack_4.f90:  New test case.

From-SVN: r134927
2008-05-04 08:06:02 +00:00
..
config fpu-387.h: Include cpuid.h. 2007-09-07 11:34:36 +02:00
generated re PR fortran/35990 (run-time abort for PACK of run-time zero sized array) 2008-05-04 08:06:02 +00:00
intrinsics intrinsic.c (add_functions): Add SELECTED_CHAR_KIND intrinsic. 2008-04-30 21:45:02 +00:00
io re PR libfortran/36094 (Runtime error show_locus not working correctly) 2008-05-02 01:33:16 +00:00
m4 re PR fortran/35990 (run-time abort for PACK of run-time zero sized array) 2008-05-04 08:06:02 +00:00
runtime re PR libfortran/36094 (Runtime error show_locus not working correctly) 2008-05-02 01:33:16 +00:00
acinclude.m4 libgomp/ 2008-04-21 20:55:19 +00:00
aclocal.m4 re PR other/35457 (Error building GCC trunk on CELL SPU) 2008-04-18 10:28:53 +00:00
c99_protos.h re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
ChangeLog re PR fortran/35990 (run-time abort for PACK of run-time zero sized array) 2008-05-04 08:06:02 +00: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 re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
configure libgomp/ 2008-04-21 20:55:19 +00:00
configure.ac re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
configure.host acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
gfortran.map intrinsic.c (add_functions): Add SELECTED_CHAR_KIND intrinsic. 2008-04-30 21:45:02 +00:00
libgfortran.h re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
Makefile.am intrinsic.c (add_functions): Add SELECTED_CHAR_KIND intrinsic. 2008-04-30 21:45:02 +00:00
Makefile.in intrinsic.c (add_functions): Add SELECTED_CHAR_KIND intrinsic. 2008-04-30 21:45:02 +00:00
mk-kinds-h.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-sik-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-srk-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00