1. 05 Mar, 2012 23 commits
    • sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook. · ab649754
      	* config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook.
      	* config/sh/sync.md (atomic_test_and_set): New expander.
      	(tasb, atomic_test_and_set_soft): New insns.
      	* config/sh/sh.opt (menable-tas): New option.
      	* doc/invoke.texi (SH Options): Document it.
      
      From-SVN: r184947
      Oleg Endo committed
    • re PR c++/51930 (Explicitly instantiated template gets hidden visibility) · b5053024
      	PR c++/51930
      	* decl2.c (determine_visibility): Correct calculation of class
      	args depth.
      	* decl.c (check_tag_decl): Adjust warning.
      
      From-SVN: r184946
      Jason Merrill committed
    • method.c (synthesized_method_walk): Cleanups don't affect the EH spec either. · bb828cc7
      	* method.c (synthesized_method_walk): Cleanups don't affect the EH
      	spec either.
      
      From-SVN: r184945
      Jason Merrill committed
    • runtime: Implement runtime.Callers. · c3f87aa9
      From-SVN: r184944
      Ian Lance Taylor committed
    • libitm: Don't execute memtransfer/memset if size isn't larger than zero. · d28b0b08
      	libitm/
      	* dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute
      	memtransfer/memset if size isn't larger than zero.
      
      From-SVN: r184941
      Torvald Riegel committed
    • libitm: Update texinfo docs. · 034209bc
      	libitm/
      	* libitm.texi: Link to specification and add a usage example.
      
      From-SVN: r184940
      Torvald Riegel committed
    • stl_algobase.h (iter_swap): In C++11 mode just call swap. · 93d9a365
      2012-03-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_algobase.h (iter_swap): In C++11 mode just
      	call swap.
      	* include/bits/stl_bvector.h (swap(_Bit_reference,
      	_Bit_reference), swap(_Bit_reference, bool&),
      	swap(bool&, _Bit_reference)): Add.
      	* testsuite/23_containers/vector/bool/swap.cc: New.
      
      From-SVN: r184939
      Paolo Carlini committed
    • cfgloop.c (verify_loop_structure): Verify dominators before using them. · 510dbcce
      2012-03-05  Richard Guenther  <rguenther@suse.de>
      
      	* cfgloop.c (verify_loop_structure): Verify dominators before
      	using them.
      	* graphite-clast-to-gimple.c (graphite_verify): Do not verify
      	dominators from here.
      	* graphite-scop-detection.c (create_sese_edges): Likewise.
      	* loop-doloop.c (doloop_optimize_loops): Likewise.
      	* loop-init.c (loop_optimizer_init): Likewise.
      	* loop-unroll.c (unroll_and_peel_loops): Likewise.
      	* loop-unswitch.c (unswitch_loops): Likewise.
      	* tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Likewise.
      	* tree-parloops.c (parallelize_loops): Likewise.  Verify
      	only when checking is enabled.
      	* tree-loop-distribution.c (tree_loop_distribution): Likewise.
      
      From-SVN: r184937
      Richard Guenther committed
    • genautomata.c (parse_automata_opt): New static function. · 50bcfce0
      	* genautomata.c (parse_automata_opt): New static function.
      	(initiate_automaton_gen): Remove all option handling code.  Remove
      	argc argument.  All callers changed.
      	(main): Call init_rtx_reader_args_cb with the new function as
      	argument.
      
      From-SVN: r184936
      Bernd Schmidt committed
    • Fix ChangeLog record for 171649: · c64f8a47
              * ira-conflicts.c: Remove mentioning cover classes from the file.
              Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS.  Use
      -       ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST.  Fix formatting.
      +       ALLOCNO_CLASS_COST instead of ALLOCNO_COVER_CLASS_COST.  Fix formatting.
      
      From-SVN: r184935
      Joern Rennecke committed
    • cfgexpand.c (gimple_expand_cfg): Free dominator info. · cd7d9fd7
      2012-03-05  Richard Guenther  <rguenther@suse.de>
      
      	* cfgexpand.c (gimple_expand_cfg): Free dominator info.
      	* tree-if-conv.c (combine_blocks): Free post-dominator info
      	after breaking it.
      	* tree-parloops.c (create_parallel_loop): Free and re-compute
      	dominator info after breaking it.
      
      From-SVN: r184933
      Richard Guenther committed
    • re PR middle-end/52353 (-ftrapv -fnon-call-exceptions does not work) · b55f62cc
      2012-03-05  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/52353
      	* optabs.h (trapv_unoptab_p): New function.
      	(trapv_binoptab_p): Likewise.
      	* optabs.c (expand_binop): Use emit_libcall_block_1 with
      	a proper equiv_may_trap argument.
      	(expand_unop): Likewise.
      	(emit_libcall_block_1): Take extra argument whether the
      	instruction may trap.  Renamed from ...
      	(emit_libcall_block): ... this.  New wrapper.
      
      From-SVN: r184932
      Richard Guenther committed
    • * sv.po: Update. · 8dad8b25
      From-SVN: r184930
      Joseph Myers committed
    • re PR tree-optimization/51721 (-Warray-bounds false positives and inconsistencies) · 3877a6a6
      	PR tree-optimization/51721
      	* tree-vrp.c (register_edge_assert_for_2): If comparing
      	lhs of right shift by constant with an integer constant,
      	add ASSERT_EXPRs for the rhs1 of the right shift.
      
      	* gcc.dg/tree-ssa/vrp63.c: New test.
      	* gcc.dg/pr51721.c: New test.
      
      From-SVN: r184927
      Jakub Jelinek committed
    • configure.ac: Enable gdb and readline for ia64*-*-*vms*. · 091fe9ca
      2012-03-05  Tristan Gingold  <gingold@adacore.com>
      
      	* configure.ac: Enable gdb and readline for ia64*-*-*vms*.
      	* configure: Regenerate.
      
      From-SVN: r184926
      Tristan Gingold committed
    • * cfgrtl.c (cfg_layout_merge_blocks): Cleanup. · f9df6f16
      From-SVN: r184925
      Jakub Jelinek committed
    • tree.c (integer_zerop): Handle VECTOR_CSTs. · 45c0175b
      2012-03-05  Richard Guenther  <rguenther@suse.de>
      
      	* tree.c (integer_zerop): Handle VECTOR_CSTs.
      	(integer_onep): Likewise.
      	(integer_all_onesp): Likewise.
      
      From-SVN: r184923
      Richard Guenther committed
    • avr.md (*umaddqihi4.2): New insn-and-split. · d84f3a05
      	* config/avr/avr.md (*umaddqihi4.2): New insn-and-split.
      
      From-SVN: r184919
      Georg-Johann Lay committed
    • crontab: Remove 4.3 branch from the list of snapshots to make. · 1f338c31
      2013-03-05  Richard Guenther  <rguenther@suse.de>
      
              * crontab: Remove 4.3 branch from the list of snapshots to make.
      
      From-SVN: r184918
      Richard Guenther committed
    • re PR go/52342 (64-bit go.test/test/chan/doubleselect.go times out on Solaris/SPARC) · 5e60b570
      	PR go/52342
      runtime: Better big-endian identity hash function.
      
      From-SVN: r184914
      Ian Lance Taylor committed
    • libgo: Fix Solaris ustat.h test. · dbe1e4a5
      From-SVN: r184913
      Ian Lance Taylor committed
    • re PR libstdc++/43813 ([DR1234] vector<T*>(3, NULL) fails to compile) · 2203cb90
      2012-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
      	    Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	PR libstdc++/43813
      	* include/bits/stl_iterator_base_types.h (_RequireInputIter): New.
      	* include/ext/vstring.h (__versa_string<>::__versa_string
      	(_InputIterator, _InputIterator, const _Alloc&),
      	__versa_string<>::append(_InputIterator, _InputIterator),
      	__versa_string<>::assign(_InputIterator, _InputIterator),
      	__versa_string<>::insert(iterator, _InputIterator,
      	_InputIterator), __versa_string<>::replace(iterator, iterator,
      	_InputIterator, _InputIterator)): Use it.
      	* include/bits/stl_list.h (list<>::list(_InputIterator,
      	_InputIterator, const allocator_type&), list<>::assign(_InputIterator,
      	_InputIterator), list<>::insert(iterator, _InputIterator,
      	_InputIterator)): Likewise.
      	* include/bits/stl_vector.h (vector<>::vector(_InputIterator,
      	_InputIterator, const allocator_type&), vector<>::assign(_InputIterator,
      	_InputIterator), vectort<>::insert(iterator, _InputIterator,
      	_InputIterator)): Likewise.
      	* include/bits/stl_deque.h (deque<>::deque(_InputIterator,
      	_InputIterator, const allocator_type&), deque<>::deque(_InputIterator,
      	_InputIterator), deque<>::insert(iterator, _InputIterator,
      	_InputIterator)): Likewise.
      	* include/bits/stl_bvector.h (vector<>::vector(_InputIterator,
      	_InputIterator, const allocator_type&), vector<>::deque(_InputIterator,
      	_InputIterator), vector<>::insert(iterator, _InputIterator,
      	_InputIterator)): Likewise.
      	* include/bits/forward_list.h (forward_list<>::forward_list
      	(_InputIterator, _InputIterator, const allocator_type&),
      	forward_list<>::assign(_InputIterator, _InputIterator),
      	forward_list<>::insert_after(const_iterator, _InputIterator,
      	_InputIterator)): Likewise.
      	(forward_list<>::_M_initialize_dispatch(,, __true_type): Remove.
      	(forward_list<>::_M_range_initialize): Add, adjust everywhere.
      	* include/bits/forward_list.tcc: Adjust.
      	* include/debug/forward_list: Adjust.
      	* include/debug/vector: Likewise.
      	* include/debug/deque: Likewise.
      	* include/debug/list: Likewise.
      	* testsuite/ext/vstring/requirements/do_the_right_thing.cc: New.
      	* testsuite/23_containers/forward_list/requirements/
      	do_the_right_thing.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/
      	do_the_right_thing.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/
      	do_the_right_thing.cc: Likewise.
      	* testsuite/23_containers/list/requirements/
      	do_the_right_thing.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	assign_neg.cc: Adjust dg-error line number.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
      
      From-SVN: r184911
      Paolo Carlini committed
    • Daily bump. · 8e4ac532
      From-SVN: r184910
      GCC Administrator committed
  2. 04 Mar, 2012 17 commits