1. 03 Nov, 2012 6 commits
  2. 02 Nov, 2012 26 commits
    • re PR rtl-optimization/54524 (Spurious add on sum of bitshifts (forward-propagate issue)) · 5352ea68
      2012-11-02  Andrew Pinski  <apinski@cavium.com>
      
              PR rtl-opt/54524
              * simplify-rtx.c (simplify_relational_operation_1): Don't simplify
              (LTU/GEU (PLUS a 0) 0) into (GEU/LTU a 0) since they are not equivalent.
      
      From-SVN: r193111
      Andrew Pinski committed
    • runtime: Fix reflect.Call support for 64-bit ints. · 556ea391
      From-SVN: r193110
      Ian Lance Taylor committed
    • configure.xml: Adjust GNU libc link. · 1a34066e
      	* doc/xml/manual/configure.xml: Adjust GNU libc link.
      
      	* doc/xml/manual/debug.xml: Adjust GDB documentation link.
      	Use GCC instead of gcc.
      
      	* doc/xml/manual/prerequisites.xml: Remove detailed reference
      	to binutils downloads.
      
      From-SVN: r193109
      Gerald Pfeifer committed
    • pr48258-2.c: Simplfy the acceptance conditions to verify the reduction code is vectorized. · 36834fe3
      2012-11-02  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* gcc.target/powerpc/pr48258-2.c: Simplfy the acceptance
      	conditions to verify the reduction code is vectorized.
      
      From-SVN: r193107
      Michael Meissner committed
    • Update ChangeLog files as requested for cgraph change to checked down cast. · 24551b9c
      
      Index: gcc/cp/ChangeLog
      
      2012-10-31  Lawrence Crowl  <crowl@google.com>
      
      	* decl2.c (var_finalized_p): Rename varpool_node to
      	varpool_node_for_decl.
      	(maybe_emit_vtables): Likewise.
      
      Index: gcc/ada/ChangeLog
      
      2012-10-31  Lawrence Crowl  <crowl@google.com>
      
      	* gcc-interface/utils.c (gnat_write_global_declarations):
      	Rename varpool_node to varpool_node_for_decl.
      
      Index: gcc/lto/ChangeLog
      
      2012-10-31  Lawrence Crowl  <crowl@google.com>
      
      	* lto.c (lto_wpa_write_files): Change symtab checking to a checked
      	down-cast via dyn_cast.
      	* lto-partition.c (add_symbol_to_partition_1): Likewise.
      	(undo_partition): Likewise.
      	(lto_balanced_map): Likewise.
      	(get_symbol_class): Likewise and via is_a.
      	(lto_balanced_map): Change symtab checking to is_a.
      
      From-SVN: r193106
      Lawrence Crowl committed
    • Add a new option --clean_build to validate_failures.py · b436bf38
      This is useful when you have two builds of the same compiler.  One with
      your changes.  The other one, a clean build at the same revision.
      Instead of using a manifest file, --clean_build will compare the
      results it gather from the patched build against those it gathers from
      the clean build.
      
      Usage
      
      $ cd /top/of/patched/gcc/bld
      $ validate_failures.py --clean_build=clean/bld-gcc
      Source directory: /usr/local/google/home/dnovillo/gcc/trunk
      Build target:     x86_64-unknown-linux-gnu
      Getting actual results from build directory .
              ./x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum
              ./x86_64-unknown-linux-gnu/libffi/testsuite/libffi.sum
              ./x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.sum
              ./x86_64-unknown-linux-gnu/libgo/libgo.sum
              ./x86_64-unknown-linux-gnu/boehm-gc/testsuite/boehm-gc.sum
              ./x86_64-unknown-linux-gnu/libatomic/testsuite/libatomic.sum
              ./x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum
              ./x86_64-unknown-linux-gnu/libitm/testsuite/libitm.sum
              ./x86_64-unknown-linux-gnu/libjava/testsuite/libjava.sum
              ./gcc/testsuite/g++/g++.sum
              ./gcc/testsuite/gnat/gnat.sum
              ./gcc/testsuite/ada/acats/acats.sum
              ./gcc/testsuite/gcc/gcc.sum
              ./gcc/testsuite/gfortran/gfortran.sum
              ./gcc/testsuite/obj-c++/obj-c++.sum
              ./gcc/testsuite/go/go.sum
              ./gcc/testsuite/objc/objc.sum
      Getting actual results from build directory clean/bld-gcc
              clean/bld-gcc/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/libstdc++.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/libffi/testsuite/libffi.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/libgomp/testsuite/libgomp.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/libgo/libgo.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/boehm-gc/testsuite/boehm-gc.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/libatomic/testsuite/libatomic.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/libmudflap/testsuite/libmudflap.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/libitm/testsuite/libitm.sum
              clean/bld-gcc/x86_64-unknown-linux-gnu/libjava/testsuite/libjava.sum
              clean/bld-gcc/gcc/testsuite/g++/g++.sum
              clean/bld-gcc/gcc/testsuite/gnat/gnat.sum
              clean/bld-gcc/gcc/testsuite/ada/acats/acats.sum
              clean/bld-gcc/gcc/testsuite/gcc/gcc.sum
              clean/bld-gcc/gcc/testsuite/gfortran/gfortran.sum
              clean/bld-gcc/gcc/testsuite/obj-c++/obj-c++.sum
              clean/bld-gcc/gcc/testsuite/go/go.sum
              clean/bld-gcc/gcc/testsuite/objc/objc.sum
      
      SUCCESS: No unexpected failures.
      
      2012-11-02  Diego Novillo  <dnovillo@google.com>
      
      	* testsuite-management/validate_failures.py: Add option
      	--clean_build to compare test results against another
      	build.
      
      From-SVN: r193105
      Diego Novillo committed
    • tree-ssa-loop-niter.c (double_int_cmp, [...]): New functions. · 73ddf95b
      
      	* tree-ssa-loop-niter.c (double_int_cmp, bound_index,
      	discover_iteration_bound_by_body_walk): New functions.
      	(discover_iteration_bound_by_body_walk): Use it.
      
      	* gcc.dg/tree-ssa/loop-38.c: New testcase.
      
      From-SVN: r193104
      Jan Hubicka committed
    • Pass -fno-ident to tests making sure "pow" is not called · 161b371f
      From-SVN: r193103
      Michael Meissner committed
    • predict.c (predict_loops): Predict also exits not dominating latch. · 46deac6c
      	* predict.c (predict_loops): Predict also exits not dominating
      	latch.
      
      From-SVN: r193102
      Jan Hubicka committed
    • * predict.c (predict_loops): Do not predict infinite loops. · f481cd49
      From-SVN: r193101
      Jan Hubicka committed
    • fmaq.c (fmaq): Fix build. · 2749bf29
      2012-11-01  Tobias Burnus  <burnus@net-b.de>
      
              * math/fmaq.c (fmaq): Fix build.
      
      From-SVN: r193100
      Tobias Burnus committed
    • fmaq.c (fmaq): Merge from GLIBC. · e4320d7d
      2012-11-01  Tobias Burnus  <burnus@net-b.de>
                  Joseph Myers  <joseph@codesourcery.com>
      
              * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
              with small x * y using scaling, not as x * y + z.
              * math/lgammaq.c (lgammaq): Fix signgam handling.
      
      
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      
      From-SVN: r193099
      Tobias Burnus committed
    • re PR tree-optimization/55079 (false positive -Warray-bounds (also seen at -O3 bootstrap)) · f2a1b469
      
      	PR middle-end/55079
      	* tree-ssa-loop-niter.c (number_of_iterations_exit): Update
      	MAX field if NITER was folded to contant.
      	(record_estimate): Sanity check.
      	* tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): New
      	function.
      	(remove_redundant_iv_test): New function.
      	(loops_to_unloop, loops_to_unloop_nunroll): New static vars.
      	(unloop_loops): Break out from ...
      	(try_unroll_loop_completely): ... here; Pass in MAXITER; use
      	remove_exits_and_undefined_stmts; do not unloop.
      	(canonicalize_loop_induction_variables): Compute MAXITER;
      	use remove_redundant_iv_test; remove loop_close_ssa_invalidated
      	and irred_invalidated arguments.
      	(canonicalize_induction_variables): Compute fresh bound estimates;
      	unloop; walk from innermost.
      	(tree_unroll_loops_completely): Likewise.
      
      	* gcc.dg/tree-ssa/cunroll-10.c: New testcase.
      	* gcc.dg/tree-ssa/cunroll-9.c: New testcase.
      
      From-SVN: r193098
      Jan Hubicka committed
    • Fix typo in changelog. · 7ee840b6
      From-SVN: r193097
      Vladimir Makarov committed
    • re PR middle-end/55130 (ICE in insn_rhs_dead_pseudo_p, at lra-constraints.c:3224) · 28430b2e
      2012-11-02  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/55130
      	* lra-constraints.c (debug_loc_equivalence_change_p): Rename to
      	loc_equivalence_change_p.
      	(lra_constraints): Check equiv_insn_bitmap for debug insn.  Call
      	loc_equivalence_change_p for non-transformed insn.
      
      2012-11-02  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/55150
      	* gcc.target/i386/pr55130.c: New test.
      
      From-SVN: r193096
      Vladimir Makarov committed
    • re PR target/55175 (i386/sfp-exceptions.c:52:7: error: impossible constraint in 'asm') · 73edb277
      	PR target/55175
      	* config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
      	* config/i386/sfp-machine.h: Guard exception handling
      	code with _SOFT_FLOAT.
      	* config/i386/32/sfp-machine.h: Guard rounding handling
      	code with _SOFT_FLOAT.
      	* config/i386/64/sfp-machine.h: Ditto.
      
      From-SVN: r193095
      Uros Bizjak committed
    • cfg-flags.def (ABNORMAL_CALL): Fix comment. · f99ffaa3
      	* cfg-flags.def (ABNORMAL_CALL): Fix comment.
      	(EH): Likewise.
      	(SIBCALL): Likewise.
      	* cfgrtl.c (rtl_verify_flow_info_1): Adjust error messages.
      	Deal with EDGE_SIBCALL and fix the EDGE_ABNORMAL check.
      
      From-SVN: r193094
      Eric Botcazou committed
    • re PR libstdc++/55169 (std::discrete_distribution::operator(generator&) makes… · 5bcb3b4d
      re PR libstdc++/55169 (std::discrete_distribution::operator(generator&) makes unnecessary copy of parameter vector)
      
      2012-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/55169
      	* include/bits/random.h: Remove all uses of param().
      	(chi_squared_distribution<>::__generate_impl(_ForwardIterator,
      	_ForwardIterator, _UniformRandomNumberGenerator&): Declare
      	* include/bits/random.tcc: ... define.
      	* include/ext/random: Remove all uses of param().
      
      From-SVN: r193092
      Paolo Carlini committed
    • allocator.xml: Update reference to Hoard. · e570b479
      	* doc/xml/manual/allocator.xml: Update reference to Hoard.
      	Update reference to Berger's OOPSLA 2002 paper.
      
      From-SVN: r193091
      Gerald Pfeifer committed
    • re PR target/55147 (x86: wrong code for 64-bit load) · e217d64f
      	PR target/55147
      	* config/i386/i386.md (bswapdi2): Limit to TARGET_64BIT.
      	(*bswapdi2_doubleword): Removed.
      
      	* gcc.target/i386/pr55147.c: New test.
      
      From-SVN: r193090
      Jakub Jelinek committed
    • printers.py (Tr1HashtableIterator): Update. · 073deae6
      	* python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Update.
      	(StdForwardListPrinter): Likewise.
      
      From-SVN: r193087
      Jonathan Wakely committed
    • forward_list.h (forward_list(size_type)): Add missing allocator parameter. · 50799846
      	* include/bits/forward_list.h (forward_list(size_type)): Add missing
      	allocator parameter.
      	(_Fwd_list_node_base): Use NSDMI and define constructor as defaulted.
      	(_Fwd_list_node::_M_value): Replace with uninitialized storage.
      	(_Fwd_list_node::_M_valptr()): Define functions to access storage.
      	(_Fwd_list_iterator, _Fwd_list_const_iterator): Use _M_valptr.
      	(_Fwd_list_base::_M_create_node): Only use allocator to construct the
      	element not the node.
      	* include/bits/forward_list.tcc (_Fwd_list_base::_M_erase_after): Only
      	use allocator to destroy the element not the node.
      	* testsuite/23_containers/forward_list/cons/11.cc: Remove unused
      	headers.
      	* testsuite/23_containers/forward_list/cons/12.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/13.cc: New.
      	* testsuite/23_containers/forward_list/cons/14.cc: New.
      
      From-SVN: r193086
      Jonathan Wakely committed
    • codecvt.xml: Fix reference to Austin Common Standards Revision Group. · 7ce3b115
      	* doc/xml/manual/codecvt.xml: Fix reference to Austin Common
      	Standards Revision Group.
      	* doc/xml/manual/messages.xml: Ditto.
      	* doc/xml/manual/using_exceptions.xml: Ditto.
      
      	* doc/xml/manual/messages.xml: Fix reference to GNU gettext.
      
      	* doc/xml/manual/policy_data_structures.xml: Fix reference to
      	STL at SGI.
      	Update reference to COM at Microsoft.
      	Update reference to Worst-case efficient priority queues at ACM.
      
      From-SVN: r193084
      Gerald Pfeifer committed
    • default_format_1.f90: XFAIL on AIX. · 2b7d945b
              * gfortran.dg/default_format_1.f90: XFAIL on AIX.
              * gfortran.dg/default_format_denormal_1.f90: Same.
      
      From-SVN: r193083
      David Edelsohn committed
    • Daily bump. · 84dfaabb
      From-SVN: r193082
      GCC Administrator committed
  3. 01 Nov, 2012 8 commits
    • * doc/install.texi (Specific): Remove moxie web reference. · 0cd6f755
      From-SVN: r193078
      Gerald Pfeifer committed
    • re PR middle-end/55001 (Handle VEC_COND_EXPR better in tree-vect-generic.c) · 374ab2d7
      2012-11-01  Marc Glisse  <marc.glisse@inria.fr>
      
      	PR middle-end/55001
      
      gcc/
      	* tree-vect-generic.c (expand_vector_condition): New function.
      	(expand_vector_operations_1): Call it.
      
      testsuite/
      	* g++.dg/ext/vector19.C: Remove target restrictions.
      	* gcc.dg/fold-compare-7.c: New testcase.
      
      From-SVN: r193077
      Marc Glisse committed
    • range_access.cc: Fix copying permission statement. · 2328b1de
      	* testsuite/18_support/initializer_list/range_access.cc: Fix copying
      	permission statement.
      	* testsuite/20_util/specialized_algorithms/uninitialized_copy/
      	808590.cc: Likewise.
      	* testsuite/20_util/specialized_algorithms/uninitialized_copy/
      	move_iterators/1.cc: Likewise.
      	* testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
      	move_iterators/1.cc: Likewise.
      	* testsuite/21_strings/basic_string/capacity/char/shrink_to_fit.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/capacity/wchar_t/shrink_to_fit.cc:
      	Likewise.
      	* testsuite/21_strings/basic_string/range_access/char/1.cc: Likewise.
      	* testsuite/21_strings/basic_string/range_access/wchar_t/1.cc:
      	Likewise.
      	* testsuite/23_containers/array/element_access/at_neg.cc: Likewise.
      	* testsuite/23_containers/array/range_access.cc: Likewise.
      	* testsuite/23_containers/deque/capacity/29134-2.cc: Likewise.
      	* testsuite/23_containers/deque/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/deque/capacity/shrink_to_fit.cc: Likewise.
      	* testsuite/23_containers/deque/range_access.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/do_the_right_thing.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/capacity/1.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/1.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/10.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/11.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/12.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/2.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/3.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/4.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/5.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/6.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/7.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/8.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/9.cc: Likewise.
      	* testsuite/23_containers/forward_list/debug/clear.cc: Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after1_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/move_constructor.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after.cc: Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after5_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after6_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/splice_after7_neg.cc:
      	Likewise.
      	* testsuite/23_containers/forward_list/debug/swap.cc: Likewise.
      	* testsuite/23_containers/forward_list/modifiers/1.cc: Likewise.
      	* testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
      	* testsuite/23_containers/forward_list/modifiers/3.cc: Likewise.
      	* testsuite/23_containers/forward_list/modifiers/4.cc: Likewise.
      	* testsuite/23_containers/forward_list/modifiers/5.cc: Likewise.
      	* testsuite/23_containers/forward_list/modifiers/6.cc: Likewise.
      	* testsuite/23_containers/forward_list/operations/1.cc: Likewise.
      	* testsuite/23_containers/forward_list/operations/2.cc: Likewise.
      	* testsuite/23_containers/forward_list/operations/3.cc: Likewise.
      	* testsuite/23_containers/forward_list/operations/4.cc: Likewise.
      	* testsuite/23_containers/forward_list/operations/5.cc: Likewise.
      	* testsuite/23_containers/forward_list/operations/6.cc: Likewise.
      	* testsuite/23_containers/forward_list/operations/7.cc: Likewise.
      	* testsuite/23_containers/forward_list/range_access.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/
      	do_the_right_thing.cc: Likewise.
      	* testsuite/23_containers/list/capacity/1.cc: Likewise.
      	* testsuite/23_containers/list/capacity/1.h: Likewise.
      	* testsuite/23_containers/list/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/list/modifiers/1.cc: Likewise.
      	* testsuite/23_containers/list/modifiers/1.h: Likewise.
      	* testsuite/23_containers/list/modifiers/1_c++0x.cc: Likewise.
      	* testsuite/23_containers/list/modifiers/2.cc: Likewise.
      	* testsuite/23_containers/list/modifiers/2.h: Likewise.
      	* testsuite/23_containers/list/modifiers/3.cc: Likewise.
      	* testsuite/23_containers/list/modifiers/3.h: Likewise.
      	* testsuite/23_containers/list/modifiers/insert/25288.cc: Likewise.
      	* testsuite/23_containers/list/modifiers/insert/25288.h: Likewise.
      	* testsuite/23_containers/list/operations/1.cc: Likewise.
      	* testsuite/23_containers/list/operations/1.h: Likewise.
      	* testsuite/23_containers/list/operations/2.cc: Likewise.
      	* testsuite/23_containers/list/operations/2.h: Likewise.
      	* testsuite/23_containers/list/operations/2_c++0x.cc: Likewise.
      	* testsuite/23_containers/list/operations/3.cc: Likewise.
      	* testsuite/23_containers/list/operations/3.h: Likewise.
      	* testsuite/23_containers/list/operations/3_c++0x.cc: Likewise.
      	* testsuite/23_containers/list/operations/4.cc: Likewise.
      	* testsuite/23_containers/list/operations/4.h: Likewise.
      	* testsuite/23_containers/list/operations/42352.cc: Likewise.
      	* testsuite/23_containers/list/operations/5.cc: Likewise.
      	* testsuite/23_containers/list/operations/5.h: Likewise.
      	* testsuite/23_containers/list/range_access.cc: Likewise.
      	* testsuite/23_containers/list/requirements/do_the_right_thing.cc:
      	Likewise.
      	* testsuite/23_containers/map/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/map/range_access.cc: Likewise.
      	* testsuite/23_containers/multimap/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/multimap/range_access.cc: Likewise.
      	* testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/multiset/range_access.cc: Likewise.
      	* testsuite/23_containers/set/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/set/range_access.cc: Likewise.
      	* testsuite/23_containers/unordered_map/final_hash.cc: Likewise.
      	* testsuite/23_containers/unordered_map/observers.cc: Likewise.
      	* testsuite/23_containers/unordered_map/range_access.cc: Likewise.
      	* testsuite/23_containers/unordered_map/requirements/52942.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_map/requirements/53067.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_map/requirements/53339.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multimap/final_hash.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/observers.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/range_access.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/requirements/53339.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_multiset/final_hash.cc: Likewise.
      	* testsuite/23_containers/unordered_multiset/observers.cc: Likewise.
      	* testsuite/23_containers/unordered_multiset/range_access.cc: Likewise.
      	* testsuite/23_containers/unordered_set/final_hash.cc: Likewise.
      	* testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
      	* testsuite/23_containers/unordered_set/observers.cc: Likewise.
      	* testsuite/23_containers/unordered_set/range_access.cc: Likewise.
      	* testsuite/23_containers/unordered_set/requirements/52942.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/requirements/53067.cc:
      	Likewise.
      	* testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
      	Likewise.
      	* testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.
      	* testsuite/23_containers/vector/capacity/29134.cc: Likewise.
      	* testsuite/23_containers/vector/capacity/shrink_to_fit.cc: Likewise.
      	* testsuite/23_containers/vector/capacity/shrink_to_fit2.cc: Likewise.
      	* testsuite/23_containers/vector/range_access.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/do_the_right_thing.cc:
      	Likewise.
      	* testsuite/24_iterators/range_access.cc: Likewise.
      	* testsuite/25_algorithms/copy/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/2.cc: Likewise.
      	* testsuite/25_algorithms/copy/3.cc: Likewise.
      	* testsuite/25_algorithms/copy/34595.cc: Likewise.
      	* testsuite/25_algorithms/copy/4.cc: Likewise.
      	* testsuite/25_algorithms/copy/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/move_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/1.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/3.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc: Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/1.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/2.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/3.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc:
      	Likewise.
      	* testsuite/25_algorithms/copy_backward/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy_backward/move_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/1.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/2.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/3.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/4.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/50119.cc: Likewise.
      	* testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/fill/4.cc: Likewise.
      	* testsuite/25_algorithms/fill_n/1.cc: Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/char/1.cc:
      	Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc:
      	Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/1.cc:
      	Likewise.
      	* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc:
      	Likewise.
      	* testsuite/25_algorithms/heap/1.cc: Likewise.
      	* testsuite/25_algorithms/heap/moveable.cc: Likewise.
      	* testsuite/25_algorithms/heap/moveable2.cc: Likewise.
      	* testsuite/25_algorithms/is_heap/1.cc: Likewise.
      	* testsuite/25_algorithms/is_heap_until/1.cc: Likewise.
      	* testsuite/25_algorithms/is_sorted/1.cc: Likewise.
      	* testsuite/25_algorithms/is_sorted_until/1.cc: Likewise.
      	* testsuite/25_algorithms/move/1.cc: Likewise.
      	* testsuite/25_algorithms/move/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/move_backward/1.cc: Likewise.
      	* testsuite/25_algorithms/move_backward/deque_iterators/1.cc: Likewise.
      	* testsuite/25_algorithms/partition/1.cc: Likewise.
      	* testsuite/25_algorithms/partition/moveable.cc: Likewise.
      	* testsuite/25_algorithms/pop_heap/empty2_neg.cc: Likewise.
      	* testsuite/25_algorithms/pop_heap/empty_neg.cc: Likewise.
      	* testsuite/25_algorithms/stable_partition/1.cc: Likewise.
      	* testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
      	* testsuite/25_algorithms/stable_partition/pr52822.cc: Likewise.
      	* testsuite/26_numerics/valarray/range_access.cc: Likewise.
      	* testsuite/28_regex/range_access.cc: Likewise.
      	* testsuite/ext/vstring/capacity/29134.cc: Likewise.
      	* testsuite/ext/vstring/capacity/shrink_to_fit.cc: Likewise.
      	* testsuite/ext/vstring/hash/char/1.cc: Likewise.
      	* testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
      	* testsuite/ext/vstring/range_access.cc: Likewise.
      	* testsuite/ext/vstring/requirements/do_the_right_thing.cc: Likewise.
      	* testsuite/performance/25_algorithms/copy_backward_deque_iterators.cc:
      	Likewise.
      	* testsuite/performance/25_algorithms/copy_deque_iterators.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/unordered_map/capacity/29134-map.cc:
      	Likewise.
      	* testsuite/tr1/6_containers/unordered_multimap/capacity/
      	29134-multimap.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_multiset/capacity/
      	29134-multiset.cc: Likewise.
      	* testsuite/tr1/6_containers/unordered_set/capacity/29134-set.cc:
      	Likewise.
      
      From-SVN: r193076
      Jonathan Wakely committed
    • target-globals.c (save_target_globals): Save lra_int struct. · 74c4a938
      2012-11-01  Steve Ellcey  <sellcey@mips.com>
      
      	* target-globals.c (save_target_globals): Save lra_int struct.
      
      From-SVN: r193075
      Steve Ellcey committed
    • standards.texi (Standards): Adjust reference to Go specification. · 1400a293
      	* doc/standards.texi (Standards): Adjust reference to Go
      	specification.
      
      From-SVN: r193073
      Gerald Pfeifer committed
    • This patch removes the unused ebitmap, and then removes some sbitmap functions… · 5fd39ce6
      This patch removes the unused ebitmap, and then removes some sbitmap functions only used by ebitmap.
      
      This patch removes the unused ebitmap, and then removes some sbitmap functions
      only used by ebitmap.  The functions removed are:
      
      SET_BIT_WITH_POPCOUNT
      RESET_BIT_WITH_POPCOUNT
      bitmap_copy_n
      bitmap_range_empty_p
      sbitmap_popcount
      
      In addition, two functions have been made private to the implementation file:
      
      SBITMAP_SIZE_BYTES
      sbitmap_verify_popcount
      
      Tested on x86-64.
      
      
      Index: gcc/ChangeLog
      
      2012-11-01  Lawrence Crowl  <crowl@google.com>
      
      	* ebitmap.h: Remove unused.
      	* ebitmap.c: Remove unused.
      	* Makefile.in: Remove ebitmap.h and ebitmap.c.
      	* sbitmap.h (SBITMAP_SIZE_BYTES): Move to source file.
      	(SET_BIT_WITH_POPCOUNT): Remove unused.
      	(RESET_BIT_WITH_POPCOUNT): Remove unused.
      	(bitmap_copy_n): Remove unused.
      	(bitmap_range_empty_p): Remove unused.
      	(sbitmap_popcount): Remove unused.
      	(sbitmap_verify_popcount): Make private to source file.
      	* sbitmap.c (SBITMAP_SIZE_BYTES): Move here from header.
      	(bitmap_copy_n): Remove unused.
      	(bitmap_range_empty_p): Remove unused.
      	(sbitmap_popcount): Remove unused.
      	(sbitmap_verify_popcount): Make private to source file.
      
      2012-11-01  Lawrence Crowl  <crowl@google.com>
      
      From-SVN: r193072
      Lawrence Crowl committed
    • re PR target/55160 (Counterproductive loop induction variable optimization) · c291b2ad
      	PR target/55160
      	* gcc.target/sh/pr55160.c: New.
      
      From-SVN: r193071
      Oleg Endo committed
    • This patch renames sbitmap iterators to unify them with the bitmap iterators. · d4ac4ce2
      Remove the unused EXECUTE_IF_SET_IN_SBITMAP_REV, which has an unconventional
      interface.
      
      Rename the sbitmap_iter_* functions to match bitmap's bmp_iter_* functions.
      Add an additional parameter to the initialization and next functions to
      match the interface in bmp_iter_*.  This extra parameter is mostly hidden
      by the use of the EXECUTE_IF macros.
      
      Rename the EXECUTE_IF_SET_IN_SBITMAP macro to EXECUTE_IF_SET_IN_BITMAP.  Its
      implementation is now identical to that in bitmap.h.  To prevent redefinition
      errors, both definitions are now guarded by #ifndef.  An alternate strategy
      is to simply include bitmap.h from sbitmap.h.  As this would increase build
      time, I have elected to use the #ifndef version.  I do not have a strong
      preference here.
      
      The sbitmap_iterator type is still distinctly named because it is often
      declared in contexts where the bitmap type is not obvious.  There are less
      than 40 uses of this type, so the burden to modify it when changing bitmap
      types is not large.
      
      Tested on x86-64, config-list.mk testing.
      
      
      Index: gcc/ChangeLog
      
      2012-10-31  Lawrence Crowl  <crowl@google.com>
      
      	* sbitmap.h (sbitmap_iter_init): Rename bmp_iter_set_init and add
      	unused parameter to match bitmap iterator.  Update callers.
      	(sbitmap_iter_cond): Rename bmp_iter_set.  Update callers.
      	(sbitmap_iter_next): Rename bmp_iter_next and add unused parameter to
      	match bitmap iterator.  Update callers.
      	(EXECUTE_IF_SET_IN_SBITMAP_REV): Remove unused.
      	(EXECUTE_IF_SET_IN_SBITMAP): Rename EXECUTE_IF_SET_IN_BITMAP and
      	adjust to be identical to the definition in bitmap.h.  Conditionalize
      	the definition based on not having been defined.  Update callers.
      	* bitmap.h (EXECUTE_IF_SET_IN_BITMAP): Conditionalize the definition
      	based on not having been defined.  (To match the above.)
      
      From-SVN: r193069
      Lawrence Crowl committed