1. 14 Apr, 2008 21 commits
  2. 13 Apr, 2008 9 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
    • s-secsta.adb, [...]: Fix comment typos. · 12a13f01
      gcc/ada/
      
      	* s-secsta.adb, s-sequio.ads, s-shasto.ads,
      	s-soflin.ads, s-stalib.ads, s-stausa.adb,
      	s-stausa.ads, s-strxdr.adb, s-taenca.adb, s-taenca.ads,
      	s-taprob.adb, s-taprop-hpux-dce.adb, s-taprop-irix.adb,
      	s-taprop-linux.adb, s-taprop-mingw.adb, s-taprop-posix.adb,
      	s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
      	s-taprop-vxworks.adb, s-taprop.ads, s-tarest.adb,
      	s-tarest.ads, s-tasini.adb, s-tasini.ads, s-taskin.ads,
      	s-tasque.ads, s-tassta.adb, s-tassta.ads, s-tasuti.ads,
      	s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
      	s-tpopsp-posix.adb, s-tpopsp-rtems.adb, s-tposen.adb,
      	s-tposen.ads, s-traceb-hpux.adb, s-traces.ads,
      	s-trafor-default.ads, s-unstyp.ads, s-utf_32.ads,
      	s-vaflop.adb, s-vaflop.ads, s-valrea.adb, s-valuti.adb,
      	s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, scans.ads,
      	scn.adb, scng.adb, seh_init.c, sem.ads, sem_aggr.adb,
      	sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
      	sem_cat.adb, sem_cat.ads: Fix comment typos.
      
      From-SVN: r134241
      Ralf Wildenhues committed
    • * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx. · 305da3ec
      From-SVN: r134240
      Jan Hubicka committed
    • rs6000.c (compute_save_world_info): Set lr_save_p if we are going to "save the world". · 298ac1dd
      2008-04-12  Andrew Pinski  <pinskia@gmail.com>
      
              * config/rs6000/rs6000.c (compute_save_world_info): Set lr_save_p if
              we are going to "save the world".
      
      
      2008-04-12  Andrew Pinski  <pinskia@gmail.com>
      
              * gcc.target/powerpc/darwin-save-world-1.c: New test.
      
      From-SVN: r134237
      Andrew Pinski committed
    • * config/cris/cris.md ("*andhi_lowpart_non_v32", "*andhi_lowpart_v32") · 70a7c7f1
      	("*andqi_lowpart_non_v32", "*andqi_lowpart_v32"): Use "+" for the
      	operand 0 constraint, not "=".
      
      From-SVN: r134236
      Hans-Peter Nilsson committed
    • Daily bump. · e5043f5f
      From-SVN: r134234
      GCC Administrator committed
  3. 12 Apr, 2008 5 commits
  4. 11 Apr, 2008 5 commits
    • dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead of size of positions_needed * CHAR_BIT. · 9d6facc7
      2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead
      	of size of positions_needed * CHAR_BIT.
      
      From-SVN: r134203
      H.J. Lu committed
    • re PR middle-end/35897 (DSE doesn't support targets with wide registers) · 4fe663b0
      2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/35897
      	* dse.c (store_info): Change positions_needed to unsigned
      	HOST_WIDE_INT.
      	(lowpart_bitmask): New.
      	(record_store): Cast to unsigned HOST_WIDE_INT for
      	positions_needed.  Assert width <= size of positions_needed *
      	CHAR_BIT.  Call lowpart_bitmask to initialize positions_needed.
      	(check_mem_read_rtx): Use unsigned HOST_WIDE_INT on mask.  Call
      	lowpart_bitmask to set mask.
      
      From-SVN: r134199
      H.J. Lu committed
    • constraints.md: New file. · 9fdd7520
      	* config/bfin/constraints.md: New file.
      	* config/bfin/bfin.md: Include it.
      	(adddi3): Use satisfies_constraint functions instead of the old macros.
      	* config/bfin/bfin.h (REG_CLASS_FROM_LETTER, CONSTRAINT_LEN,
      	CONST_18UBIT_IMM_P, CONST_16BIT_IMM_P, CONST_16UBIT_IMM_P,
      	CONST_7BIT_IMM_P, CONST_7NBIT_IMM_P, CONST_5UBIT_IMM_P,
      	CONST_4BIT_IMM_P, CONST_4UBIT_IMM_P, CONST_3BIT_IMM_P,
      	CONST_3UBIT_IMM_P, CONST_OK_FOR_K, CONST_OK_FOR_P, CONST_OK_FOR_M,
      	CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER,
      	EXTRA_CONSTRAINT): Delete.
      	* config/bfin/predicates.md (highbits_operand, reg_or_7bit_operand,
      	reg_or_neg7bit_operand): Use satisfies_constraint functions instead
      	of the old macros.
      	* config/bfin/bfin.c: Include "tm-constrs.h".
      	(bfin_secondary_reload, split_load_immediate, bfin_rtx_costs):
      	Use satisfies_constraint functions instead of the old macros.
      	* doc/md.texi (Blackfin Constraints): Update file name reference.
      
      From-SVN: r134198
      Bernd Schmidt committed
    • re PR tree-optimization/35869 (ICE in calc_dfs_tree at -O2 -gnatp after VRP optimization) · 0a4bf1d3
      2008-04-11  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/35869
      	* tree-vrp.c (execute_vrp): Move switch statement update after
      	jump threading.  Schedule another cfg cleanup run.
      
      	* gcc.c-torture/compile/pr35869.c: New testcase.
      
      From-SVN: r134197
      Richard Guenther committed
    • sse-13.c: Move __builtin_ia32_round* to new /* mmintrin-common.h */ section. · 1f3f27a4
      2008-04-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/sse-13.c: Move __builtin_ia32_round* to new
      	/* mmintrin-common.h */ section.
      
      	* gcc.target/i386/sse-14.c: Add tests for mmintrin-common.h.
      
      From-SVN: r134195
      H.J. Lu committed