1. 31 May, 2011 30 commits
  2. 30 May, 2011 10 commits
    • tuple: Restore is_convertible constraint. · 59d6607d
      2011-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/std/tuple: Restore is_convertible constraint.
      	* testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
      
      From-SVN: r174458
      Jonathan Wakely committed
    • sh.c (expand_cbranchdi4): Set msw_skip when the high part of the second operand is 0. · 5f133038
      	* config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high
      	part of the second operand is 0.
      	* gcc.c-torture/execute/pr49186.c: New.
      
      From-SVN: r174456
      Kaz Kojima committed
    • re PR libstdc++/49236 (FAIL: 20_util/weak_ptr/comparison/cmp_neg.cc) · 283e624c
      2011-05-30  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/49236
      	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
      	line number.
      
      From-SVN: r174455
      Paolo Carlini committed
    • i386.md (*movxf_internal): Penalize FYx*r->o alternative to prevent partial memory stalls. · b17d5426
      	* config/i386/i386.md (*movxf_internal): Penalize FYx*r->o alternative
      	to prevent partial memory stalls.  Do not move CONST_DOUBLEs directly
      	to memory for !TARGET_MEMORY_MISMATCH_STALL.
      	(*movdf_internal_rex64): Do not penalize F->r alternative.
      	(*movdf_internal):  Penalize FYd*r->o alternative to prevent partial
      	memory stalls.  Generate SSE and x87 CONST_DOUBLE immediates only
      	when optimizing function for size.  Do not move CONST_DOUBLEs
      	directly to memory for !TARGET_MEMORY_MISMATCH_STALL.
      	(FP move splitters): Merge {TF,XF,DF}mode move splitters.  Do not
      	handle SUBREGs.  Do not check for MEM_P operands in the insn condition,
      	check for ANY_FP_REGNO_P instead.
      	* config/i386/constraints.md (Yd): Enable GENERAL_REGS for
      	TARGET_64BIT and for TARGET_INTEGER_DFMODE_MOVES when optimizing
      	function for speed.
      	* config/i386/i386.c (ix86_option_override_internal): Do not
      	set TARGET_INTEGER_DFMODE_MOVES here.
      
      From-SVN: r174453
      Uros Bizjak committed
    • Handle misaligned TFmode load/store. · a0cd843f
      gcc/
      
      2011-05-30  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/49168
      	* config/i386/i386.md (*movtf_internal): Handle misaligned
      	load/store.
      
      gcc/testsuite/
      
      2011-05-30  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/49168
      	 * gcc.target/i386/pr49168-1.c: New.
      
      From-SVN: r174451
      H.J. Lu committed
    • dwarf2out.c (modified_type_die, [...]): Use DW_TAG_rvalue_reference_type even… · 006a5f38
      dwarf2out.c (modified_type_die, [...]): Use DW_TAG_rvalue_reference_type even for -gdwarf-4 -fno-debug-types-section.
      
      	* dwarf2out.c (modified_type_die, gen_reference_type_die): Use
      	DW_TAG_rvalue_reference_type even for
      	-gdwarf-4 -fno-debug-types-section.
      
      From-SVN: r174449
      Jakub Jelinek committed
    • re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on powerpc) · 6e96f98a
      2011-05-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR tree-optimization/46728
      	* tree-ssa-math-opts.c (build_and_insert_call): Reorder parms.
      	(build_and_insert_binop): New.
      	(gimple_expand_builtin_pow): Reorder args for
      	build_and_insert_call; use build_and_insert_binop; add more
      	optimizations for fractional exponents.
      
      From-SVN: r174446
      Bill Schmidt committed
    • re PR c/4910 (imacat <imacat@mail.imacat.idv.tw>) · 4f60111f
      fix PR bootstrap/4910
      gcc/
      	PR bootstrap/49190
      
      	Revert:
      	2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
      
      	* tree.h (struct tree_identifier): Inherit from tree_typed, not
      	tree_common.
      	(HT_IDENT_TO_GCC_IDENT): Adjust for said change.
      	* tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as
      	TS_BASE instead of TS_COMMON.
      	* varasm.c (assemble_name): Remove assert.
      
      gcc/c-family/
      	PR bootstrap/49190
      
      	Revert:
      	2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
      
      	* c-common.h (struct c_common_identifier): Inherit from tree_typed,
      	not tree_common.
      
      From-SVN: r174445
      Nathan Froyd committed
    • tuple: Implement uses-allocator construction. · b8214660
      2011-05-30  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/std/tuple: Implement uses-allocator construction.
      	* include/bits/allocator.h (uses_allocator): Move to ...
      	* include/bits/uses_allocator.h: New file.
      	* include/Makefile.am: Add new header.
      	* include/Makefile.in: Regenerate.
      	* testsuite/20_util/uses_allocator/cons_neg.cc: New.
      	* testsuite/20_util/uses_allocator/construction.cc: New.
      	* testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
      	* testsuite/20_util/tuple/cons/allocators.cc: New.
      
      From-SVN: r174443
      Jonathan Wakely committed
    • config.gcc: Keep obselete list sorted. · 3fd7879d
      gcc/
      	* config.gcc: Keep obselete list sorted.
      
      From-SVN: r174442
      Richard Sandiford committed