1. 12 Nov, 2008 21 commits
  2. 11 Nov, 2008 11 commits
    • cse.c (fold_rtx): Remove redundant gen_rtx_CONST. · 1300342b
      gcc/
      	* cse.c (fold_rtx): Remove redundant gen_rtx_CONST.
      
      From-SVN: r141775
      Richard Sandiford committed
    • re PR rtl-optimization/37363 (Fix for PR 36090 causes libstdc++ regressions) · 2f1e2391
      gcc/
      	PR rtl-optimization/37363
      	* simplify-rtx.c (simplify_plus_minus): Don't create (const (minus ...))
      	expresisons.
      
      From-SVN: r141774
      Richard Sandiford committed
    • ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO handling. · 5dbd125c
      	* ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO
      	handling.
      
      From-SVN: r141772
      Eric Botcazou committed
    • re PR libstdc++/37986 (std::tr1::variate_generator does not conform to TR1.) · 285743c9
      2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/37986
      	* include/tr1_impl/random (struct _Adaptor): Use remove_pointer
      	and remove_reference on _Engine.
      	* testsuite/tr1/5_numerical_facilities/random/variate_generator/
      	37986.cc: New.
      
      From-SVN: r141769
      Paolo Carlini committed
    • 1_neg.cc: Adjust dg-error line numbers. · 9b77c3a2
      2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
      
      From-SVN: r141768
      Paolo Carlini committed
    • 1_neg.cc: Adjust dg-error line numbers. · aa06026b
      2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/ext/ext_pointer/1_neg.cc: Adjust dg-error line numbers.
      
      From-SVN: r141767
      Paolo Carlini committed
    • erase.cc: Fix. · b5aaf326
      2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc: Fix.
      	* testsuite/23_containers/vector/ext_pointer/modifiers/element.cc:
      	Likewise.
      
      From-SVN: r141766
      Paolo Carlini committed
    • forward_list.h: Support non-standard pointer types · 1b32e4e5
      2008-11-11  Bob Walters  <bob.s.walters@gmail.com>
      
      	* include/bits/forward_list.h: Support non-standard pointer types
      	(_Fwd_list_node_base): Add _Alloc template parameter.
      	(_Fwd_list_node<>): Likewise.
      	(_Fwd_list_iterator<>): Likewise.
      	(_Fwd_list_const_iterator<>): Likewise.
      	(_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after): 
      	Use _Alloc<_Tp>::pointer.
      	(_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
      	(_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node, 
      	_M_insert_after, _M_put_node, _M_erase_after): Likewise.
      	(_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
      	(forward_list<>): Use __static_pointer_cast in place of static_cast,
      	and __const_pointer_cast in place of const_cast.
      	* include/bits/forward_list.tcc
      	(_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place 
      	of standard pointers, __static_pointer_cast in place of static_cast.
      	(_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
      	Likewise.
      	(forward_list<>::_M_initialize_dispatch, _M_fill_initialize, 
      	splice_after, remove, remove_if, merge): Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
      	* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/operations/1.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/operations/2.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/operations/3.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/operations/4.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/operations/5.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/operations/6.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/operations/7.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc: 
      	Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/requirements/
      	explicit_instantiation/1.cc: Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/requirements/
      	explicit_instantiation/3.cc: Likewise.
      	* testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.
      
      From-SVN: r141765
      Bob Walters committed
    • extptr_allocator.h: Minor tweaks. · 8d8a4e9d
      2008-11-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/ext/extptr_allocator.h: Minor tweaks.
      	* include/ext/pointer.h: Likewise.
      	* include/ext/cast.h: Likewise.
      
      From-SVN: r141764
      Paolo Carlini committed
    • Daily bump. · ddb47467
      From-SVN: r141762
      GCC Administrator committed
    • no-smartmips-lwxs.c: New test. · 23b49dbe
      	* gcc.target/mips/no-smartmips-lwxs.c: New test.
      	* gcc.target/mips/no-smartmips-ror-1.c: New test.
      
      From-SVN: r141759
      Catherine Moore committed
  3. 10 Nov, 2008 8 commits
    • Correct date. · b297d612
      From-SVN: r141755
      H.J. Lu committed
    • config.gcc (mips64vrel-*-elf*): Include the tm_file prior to vr.h. · 7f75ae86
              * config.gcc (mips64vrel-*-elf*): Include the tm_file
              prior to vr.h.
              * config/mips/linux.h (LINUX_DRIVER_SELF_SPECS): New.
              (BASE_DRIVER_SELF_SPECS): Remove.
              (DRIVER_SELF_SPECS): New definition.
              * config/mips/elfoabi.h: (DRIVER_SELF_SPECS): Include
              BASE_DRIVER_SELF_SPECS.
              * config/mips/sde.h: Likewise.
              * config/mips/iris6.h: Likewise.
              * config/mips/vr.h: Likewise.
              * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): New.
      
      From-SVN: r141754
      Catherine Moore committed
    • re PR rtl-optimization/37948 (IRA generates slower code) · 548a6322
      2008-11-07  Vladimir Makarov  <vmakarov@redhat.com>
      	    
      	PR rtl-optimizations/37948
      	* ira-int.h (struct ira_allocno_copy): New member constraint_p.
      	(ira_create_copy, ira_add_allocno_copy): New parameter.
      
      	* ira-conflicts.c (process_regs_for_copy): New parameter.  Pass it
      	to ira_add_allocno_copy.
      	(process_reg_shuffles, add_insn_allocno_copies): Pass a new
      	parameter to process_regs_for_copy.
      	(propagate_copies): Pass a new parameter to ira_add_allocno_copy.
      	Fix typo in passing second allocno to ira_add_allocno_copy.
      
      	* ira-color.c (update_conflict_hard_regno_costs): Use head of
      	coalesced allocnos list.
      	(assign_hard_reg): Ditto.  Check that assigned allocnos are not in
      	the graph.
      	(add_ira_allocno_to_bucket): Rename to add_allocno_to_bucket.
      	(add_ira_allocno_to_ordered_bucket): Rename to
      	add_allocno_to_ordered_bucket.
      	(push_ira_allocno_to_stack): Rename to push_allocno_to_stack.  Use
      	head of coalesced allocnos list.
      	(push_allocnos_to_stack): Remove calculation of ALLOCNO_TEMP.
      	Check that it is aready calculated.
      	(push_ira_allocno_to_spill): Rename to push_ira_allocno_to_spill.
      	(setup_allocno_left_conflicts_num): Use head of coalesced allocnos
      	list.
      	(coalesce_allocnos): Do extended coalescing too.
      
      	* ira-emit.c (add_range_and_copies_from_move_list): Pass a new
      	parameter to ira_add_allocno_copy.
      
      	* ira-build.c (ira_create_copy, ira_add_allocno_copy): Add a new
      	parameter.
      	(print_copy): Print copy origination too.
      
      	* ira-costs.c (scan_one_insn): Use alloc_pref for load from
      	equivalent memory.
      
      From-SVN: r141753
      Vladimir Makarov committed
    • re PR rtl-optimization/37514 (Wrong code generated for 20021120-1.c with -O3… · befc2509
      re PR rtl-optimization/37514 (Wrong code generated for 20021120-1.c with -O3 -fomit-frame-pointer on sh4)
      
      	PR rtl-optimization/37514
      	* config/sh/sh.h (OPTIMIZATION_OPTIONS): Set
      	flag_ira_share_spill_slots to 2 if it's already non-zero.
      	(OVERRIDE_OPTIONS): Clear flag_ira_share_spill_slots if
              flag_ira_share_spill_slots is 2.
      	* gcc.target/sh/pr37514.c: New test.
      
      From-SVN: r141752
      Kaz Kojima committed
    • * g++.dg/other/anon5.C: Skip on Solaris. · 3fe8e64b
      From-SVN: r141749
      Eric Botcazou committed
    • prologue.md (prologue_enter_16): Set FB to SP - 2. · 286f9bea
      	* config/m32c/prologue.md (prologue_enter_16): Set FB to SP - 2.
      	(prologue_enter_32): Set FB to SP - 4.
      
      From-SVN: r141748
      Kevin Buettner committed
    • m32c.c (m32c_const_ok_for_constraint_p): Add ImB constraint for single-bit-clear… · 600e668e
      m32c.c (m32c_const_ok_for_constraint_p): Add ImB constraint for single-bit-clear in lower byte of HI constant...
      
      * config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add ImB
      constraint for single-bit-clear in lower byte of HI constant, vs
      Imb which just ignores the upper byte.
      * config/m32c/predicates.md (m32c_1mask8_operand): Use it.
      * config/m32c/bitops.md (andhi3_16, andhi3_24): Use it.
      (iorhi3_16): Check for single bit set, not single bit clear.
      
      From-SVN: r141747
      DJ Delorie committed