1. 03 Jun, 2005 18 commits
    • basic-block.h (remove_predictions_associated_with_edge): Declare. · 3809e990
      	* basic-block.h (remove_predictions_associated_with_edge): Declare.
      	* cfg.c (remove_edge): Use it.
      	* predict.c (remove_predictions_associated_with_edge): New function.
      
      From-SVN: r100551
      Jan Hubicka committed
    • rs6000.c (rs6000_conditional_register_usage): Clear call_realy_used_regs[r2] when ABI_AIX. · 7c9ac5c0
      2005-06-03  Pat Haugen  <pthaugen@us.ibm.com>
      
              * config/rs6000/rs6000.c (rs6000_conditional_register_usage):
              Clear call_realy_used_regs[r2] when ABI_AIX.
      
      From-SVN: r100549
      Pat Haugen committed
    • re PR libstdc++/21770 (rebinding allocator::value type vs. container::value_type) · 4fd20a8f
      2005-06-03  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/21770
      	* include/bits/stl_deque.h: Add concept-check. In class _Deque_base
      	rebind _Alloc to  _Tp_alloc_type, change _Deque_impl to inherit from
      	the latter and add _M_get_Tp_allocator() which returns it. Use
      	everywhere _M_get_Tp_allocator() instead of get_allocator().
      	* include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
      	* include/bits/stl_list.h: Add concept-check. In class _List_base
      	rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
      	returns the allocator (of type _Node_alloc_type) converted to
      	_Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
      	get_allocator().
      	* include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
      	* include/bits/stl_vector.h: Add concept-check. In class _Vector_base
      	rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
      	the latter and add _M_get_Tp_allocator() which returns it. Use
      	everywhere _M_get_Tp_allocator() instead of get_allocator().
      	* include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
      	* include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
      	_Pair_alloc_type and use it for _Rb_tree.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
      	_Key_alloc_type and use it for _Rb_tree.
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
      	use it for the allocator typedefs.
      	* testsuite/21_strings/basic_string/1.cc: New.
      	* testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
      	* testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
      	* testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
      	* testsuite/23_containers/list/explicit_instantiation.cc: Move to...
      	* testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
      	* testsuite/23_containers/list/explicit_instantiation/3.cc: New.
      	* testsuite/23_containers/map/explicit_instantiation.cc: Move to...
      	* testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
      	* testsuite/23_containers/map/explicit_instantiation/3.cc: New.
      	* testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
      	* testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
      	* testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
      	* testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
      	* testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
      	* testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
      	* testsuite/23_containers/set/explicit_instantiation.cc: Move to...
      	* testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
      	* testsuite/23_containers/set/explicit_instantiation/3.cc: New.
      	* testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
      	* testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
      	* testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
      
      From-SVN: r100546
      Paolo Carlini committed
    • re PR c++/21336 (Internal compiler error when using custom new operators) · 7e45bd18
      	PR c++/21336
      	* cp-tree.h (grok_op_properties): Remove friendp parameter.
      	* decl.c (grokfndecl): Adjust call.
      	(grok_op_properties): Determine the class of which the function is
      	a member by looking at its DECL_CONTEXT, not current_class_type.
      	* pt.c (tsubst_decl): Adjust call to grok_op_properties.
      
      	PR c++/21336
      	* g++.dg/template/new2.C: New test.
      
      From-SVN: r100541
      Mark Mitchell committed
    • ppc-vector-memcpy.c (foo): Use non-zero values for all entries in initializer. · 83cd747f
              * gcc.dg/ppc-vector-memcpy.c (foo): Use non-zero values for
              all entries in initializer.
      
      From-SVN: r100540
      Josh Conner committed
    • re PR middle-end/21858 (ICE in compare_values, at tree-vrp.c:301) · 548e34cd
      2005-06-03  Richard Guenther  <rguenth@gcc.gnu.org>
      
      	PR middle-end/21858
      	* fold-const.c (fold_binary): Fix type mismatches in folding
      	of comparisons.
      
      	* gcc.dg/pr21858.c: New testcase.
      
      From-SVN: r100539
      Richard Guenther committed
    • cgraph.c, [...]: Fix comment typos. · ff5c4582
      	* cgraph.c, cgraphunit.c, config/mips/mips.c: Fix comment
      	typos.
      
      From-SVN: r100538
      Kazu Hirata committed
    • * collect2.c (maybe_unlink): Use unlink_if_ordinary. · 88fbbf4b
      From-SVN: r100537
      Joseph Myers committed
    • Revert my previous patch. · badea87d
      From-SVN: r100536
      Bernd Schmidt committed
    • re PR testsuite/21292 (gen-vect-11b.c and gen-vect-11c.c fail) · b956116e
      2005-06-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR tree-optimization/21292
      
      	* lib/target-supports.exp (check_effective_target_vect_cmdline_needed):
      	New.
      	* gcc.dg/tree-ssa/gen-vect-11.c, gcc.dg/tree-ssa/gen-vect-11a.c,
      	gcc.dg/tree-ssa/gen-vect-11b.c, gcc.dg/tree-ssa/gen-vect-11c.c,
      	gcc.dg/tree-ssa/gen-vect-2.c, gcc.dg/tree-ssa/gen-vect-25.c,
      	gcc.dg/tree-ssa/gen-vect-26.c, gcc.dg/tree-ssa/gen-vect-28.c,
      	gcc.dg/tree-ssa/gen-vect-32.c: Require it.
      
      From-SVN: r100535
      Paolo Bonzini committed
    • Fix typo in ASM_SEPC · 8db33fd7
      From-SVN: r100534
      Nick Clifton committed
    • re PR java/21722 (gcj miscompiles accesses to static final vars with indirect dispatch) · 4267db98
      	PR java/21722:
      	* class.c (build_static_field_ref): Don't fold constant fields if
      	current class is from a .class file and we're using indirect
      	dispatch.
      
      From-SVN: r100533
      Tom Tromey committed
    • re PR tree-optimization/21849 (wrong use of sbitmap in tree-ssa-copy.c) · 50e5241d
      	PR tree-optimization/21849
      	* tree-ssa-copy.c (dump_copy_of): Call sbitmap_zero.
      
      From-SVN: r100531
      Kazu Hirata committed
    • * gcc.dg/sync-2.c: Use -march=i486 for i386. · 87e48010
      From-SVN: r100530
      Richard Henderson committed
    • Makefile.in (tree-vect-generic.o): New. · 2b725155
              * Makefile.in (tree-vect-generic.o): New.
              (OBJS-common, GTFILES, s-gtype): Add it.
              * tree-complex.c (build_replicated_const, vector_inner_type,
              vector_last_type, vector_last_nunits, build_word_mode_vector_type,
              elem_op_func, tree_vec_extract, do_unop, do_binop, do_plus_minus,
              do_negate, expand_vector_piecewise, expand_vector_parallel,
              expand_vector_addition, expand_vector_operation,
              type_for_widest_vector_mode, expand_vector_operations_1,
              gate_expand_vector_operations, expand_vector_operations,
              pass_lower_vector_ssa): Move to tree-vect-generic.c.
              (tree_lower_complex): Rename from tree_lower_operations.
              (pass_lower_complex): Rename from pass_pre_expand.
              * tree-vect-generic.c: New file.
              * tree-pass.h (pass_lower_complex): Rename from pass_pre_expand.
              (pass_lower_vector): New.
              * tree-optimize.c (init_tree_optimization_passes): Update to match.
      
      From-SVN: r100529
      Richard Henderson committed
    • modulo-sched.c (doloop_register_get): Protect against doloop_end not defined. · aeb55665
              * modulo-sched.c (doloop_register_get): Protect against
              doloop_end not defined.
      
      From-SVN: r100528
      Richard Henderson committed
    • config.sub: Add cases for the Renesas m32c. · ba4853f8
      * config.sub: Add cases for the Renesas m32c.  (This patch has been
      accepted into the master sources.)
      
      From-SVN: r100527
      Jim Blandy committed
    • Daily bump. · de77dfe3
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100525.2
      GCC Administrator committed
  2. 02 Jun, 2005 22 commits