gcc/libgfortran
Thomas Koenig c7d0f4d5fa re PR libfortran/32972 (performance of pack/unpack)
2008-04-13  Thomas Koenig  <tkoenig@gcc.gnu.org>
	Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

	PR libfortran/32972
	PR libfortran/32512
	configure.ac:  Add test for uintptr_t.
	configure:  Regenerated.
	config.h.in:  Regenerated.
	* libgfortran.h: GFC_DTYPE_DERIVED_1:  New macro.
	GFC_DTYPE_DERIVED_2:  New macro.
	GFC_DTYPE_DERIVED_4:  New macro.
	GFC_DTYPE_DERIVED_8:  New macro.
	GFC_DTYPE_DERIVED_16:  New macro.
	GFC_UNALIGNED_2:  New macro.
	GFC_UNALIGNED_4:  New macro.
	GFC_UNALIGNED_8:  New macro.
	GFC_UNALIGNED_16:  New macro.
	intptr_t:  Define if we don't have it.
	uintptr_t:  Likewise.
	* runtime/backtrace.c (show_backtrace):  Use intptr_t.
	* intrinsics/signal.c (signal_sub):  Likewise.
	(signal_sub_int):  Likewise.
	(alarm_sub_int_i4):  Likewise.
	* intrinsics/spread_generic.c (spread):  Use the integer
	routines for handling derived types of sizes 1, 2, 4, 8 and 16
	if the alignment of all pointers is correct.
	(spread_scalar):  Likewise.
	* intrinsics/pack_generic.c (pack):  Likewise.
	Use GFD_DTYPE_TYPE_SIZE to avoid nested switch statements.
	* intrinsics/unpack_generic.c (unpack1):  Likewise.
	(unpack0):  Likewise.
	* runtime/in_pack_generic.c (internal_pack):  Likewise.
	* runtime/in_unpack_generic.c (internal_unpack):  Likewise.

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

	PR libfortran/32972
	PR libfortran/32512
	* gfortran.dg/internal_pack_1.f90:  Add test for derived type.
	* gfortran.dg/intrinsic_spread_1.f90:  Likewise.
	* gfortran.dg/intrinsic_pack_1.f90:  Likewise.
	* gfortran.dg/intrinsic_unpack_1.f90:  Likewise.


Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

From-SVN: r134245
2008-04-13 20:15:58 +00:00
..
config fpu-387.h: Include cpuid.h. 2007-09-07 11:34:36 +02:00
generated re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
intrinsics re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
io list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined. 2008-04-09 11:00:31 +02:00
m4 re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
runtime re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
acinclude.m4 re PR libfortran/32841 (HUGE(1.0_16) output as +Infinity on ppc-darwin8 (gfortran.dg/large_real_kind_2.F90)) 2008-02-24 11:59:09 +00:00
aclocal.m4 configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +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 libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +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 re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
configure.ac re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
configure.host
fmain.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
gfortran.map PR fortran/25829 28655 2008-04-05 22:18:03 +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 re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
Makefile.in re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +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