1. 15 Apr, 2008 12 commits
  2. 14 Apr, 2008 24 commits
  3. 13 Apr, 2008 4 commits
    • re PR libfortran/32972 (performance of pack/unpack) · c7d0f4d5
      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
      Thomas Koenig committed
    • re PR ada/17985 (GNAT accepts extension aggregate where expexted type is not extension) · 92d4508a
          gcc/ada/
      	PR ada/17985
      	* sem_aggr.adb (Valid_Ancestor_Type): A type is not an ancestor of
      	itself.
      
          gcc/testsuite/
      	PR ada/17985
      	* gnat.dg/ancestor_type.ads, gnat.dg/ancestor_type.adb: New test.
      
      From-SVN: r134244
      Samuel Tardieu committed
    • sfn_scan.adb, [...]: Fix comment typos. · 3354f96d
      gcc/ada/
      	* sfn_scan.adb, sfn_scan.ads, sinfo.ads,
      	sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput.ads,
      	snames.ads, sprint.adb, stand.ads, stringt.ads,
      	styleg.adb, styleg.ads, stylesw.adb, stylesw.ads,
      	switch.ads, sysdep.c, table.adb, table.ads,
      	targparm.ads, tb-gcc.c, tbuild.ads, tracebak.c,
      	trans.c, tree_io.adb, treepr.adb, types.adb, types.ads,
      	uintp.adb, uintp.ads, utils.c, utils2.c, validsw.ads,
      	vms_conv.adb, vms_conv.ads, vms_data.ads, widechar.adb,
      	widechar.ads, xeinfo.adb, xgnatugn.adb, xr_tabls.adb,
      	xr_tabls.ads, xref_lib.adb, xref_lib.ads, xsinfo.adb:
      	Fix comment typos.
      
      From-SVN: r134243
      Ralf Wildenhues committed
    • sem_ch10.adb, [...]: Fix comment typos. · f3d57416
      gcc/ada/
      	* sem_ch10.adb, sem_ch10.ads,
      	sem_ch12.adb, sem_ch12.ads, sem_ch13.adb, sem_ch13.ads,
      	sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb,
      	sem_ch6.ads, sem_ch8.adb, sem_ch8.ads, sem_ch9.adb,
      	sem_elab.adb, sem_elab.ads, sem_elim.ads, sem_eval.adb,
      	sem_eval.ads, sem_intr.adb, sem_mech.adb, sem_mech.ads,
      	sem_prag.adb, sem_prag.ads, sem_res.adb, sem_res.ads,
      	sem_type.adb, sem_util.adb, sem_util.ads, sem_warn.adb,
      	sem_warn.ads: Fix comment typos.
      
      From-SVN: r134242
      Ralf Wildenhues committed