1. 05 Jun, 2005 5 commits
    • tree-flow.h (stmt_ann_d): Move aux to ... · 88088c03
              * tree-flow.h (stmt_ann_d): Move aux to ...
              (tree_ann_common_d): ... here.
              * tree-ssa-loop-im.c (LIM_DATA, determine_invariantness_stmt,
              move_computations_stmt, schedule_sm): Update references to
              aux.
              * tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise.
              * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
              call to set_stmt_info.
              (vect_transform_loop): Likewise.
              * tree-vectorizer.c (new_loop_vec_info, destroy_loop_vec_info):
              Likewise.
      
              * tree-vect-analyze.c (vect_analyze_scalar_cycles): Made void instead of
              bool.
              (vect_mark_relevant): Takes two additional arguments - live_p and
              relevant_p. Set RELEVANT_P and LIVE_P according to these arguments.
              (vect_stmt_relevant_p): Differentiate between a live stmt and a
              relevant stmt. Return two values = live_p and relevant_p.
              (vect_mark_stmts_to_be_vectorized): Call vect_mark_relevant and
              vect_stmt_relevant_p with additional arguments. Phis are no longer
              put into the worklist (analyzed seperately in analyze_scalar_cycles).
              (vect_determine_vectorization_factor): Also check for LIVE_P, because a
              stmt that is marked as irrelevant and live, cause it's only used out
              side the loop, may need to be vectorized (e.g. reduction).
              (vect_analyze_operations): Examine phis. Call
              vectorizable_live_operation for for LIVE_P stmts. Check if
              need_to_vectorize.
              (vect_analyze_scalar_cycles): Update documentation. Don't fail
              vectorization - just classify the scalar cycles created by the loop
              phis. Call vect_is_simple_reduction.
              (vect_analyze_loop): Call to analyze_scalar_cycles moved earlier.
              * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
              call to set_stmt_info.
              (vect_get_vec_def_for_operand): Code reorganized - the code that
              classifies the type of use was factored out to vect_is_simple_use.
              (vectorizable_store, vect_is_simple_cond): Call vect_is_simple_use with
              additional arguments.
              (vectorizable_assignment): Likewise. Also make sure the stmt is relevant
              and computes a loop_vec_def.
              (vectorizable_operation, vectorizable_load, vectorizable_condition):
              Likewise.
              (vectorizable_live_operation): New.
              (vect_transform_stmt): Handle LIVE_P stmts.
              * tree-vectorizer.c (new_stmt_vec_info): Initialize the new fields
              STMT_VINFO_LIVE_P and STMT_VINFO_DEF_TYPE.
              (new_loop_vec_info, destroy_loop_vec_info): Also handle phis.
              (vect_is_simple_use): Determine the type of the def and return it
              in a new function argument. Consider vect_reduction_def and
              vect_induction_def, but for now these are not supported.
              (vect_is_simple_reduction): New. Empty for now.
              * tree-vectorizer.h (vect_def_type): New enum type.
              (_stmt_vec_info): Added new fields - live and _stmt_vec_info.
              (STMT_VINFO_LIVE_P, STMT_VINFO_DEF_TYPE): New accessor macros.
              (vect_is_simple_use): New arguments added to function declaration.
              (vect_is_simple_reduction): New function declaration.
              (vectorizable_live_operation): New function declaration.
      
              * tree-vect-analyze.c (vect_can_advance_ivs_p): Add debug printout.
              (vect_can_advance_ivs_p): Likewise.
              * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Likewise.
      
      From-SVN: r100617
      Dorit Nuzman committed
    • mips.c (mips_rtx_costs): Remove unused variable. · 57049d39
      2005-06-05  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/mips.c (mips_rtx_costs): Remove unused variable.
      
      From-SVN: r100613
      Eric Christopher committed
    • re PR target/21914 (mmix-knuth-mmixware testsuite failure: compile/20030703-1.c) · f972cae4
      	PR target/21914
      	* config/mmix/mmix.md ("*movdicc_real_foldable")
      	("*movdfcc_real_foldable", "*bCC_foldable")
      	("*bCC_inverted_foldable"): Specify DImode for register being
      	compared.
      
      From-SVN: r100612
      Hans-Peter Nilsson committed
    • 20050603-1.c: New. · 1c3250ed
      2005-06-04  Dale Johannesen  <dalej@apple.com>
      
              * gcc.c-torture/execute/20050603-1.c:  New.
              * gcc.c-torture/execute/20050603-2.c:  New.
              * gcc.dg/20050603-3.c:  New.
      
      From-SVN: r100611
      Dale Johannesen committed
    • Daily bump. · c943b01e
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100609.2
      GCC Administrator committed
  2. 04 Jun, 2005 23 commits
  3. 03 Jun, 2005 12 commits
    • tree-data-ref.c (compute_self_dependence): New function. · 789246d7
      
      2005-06-03  Sebastian Pop  <pop@cri.ensmp.fr>
      
      	* tree-data-ref.c (compute_self_dependence): New function.
      	(compute_all_dependences): Use it.
      
      From-SVN: r100565
      Sebastian Pop committed
    • re PR c++/21853 (constness of pointer to data member ignored) · dad732fa
      	PR c++/21853
      	* typeck.c (casts_away_constness_r): Do not drop cv-qualifiers on
      	the pointed-to type for a pointer-to-member.
      
      	PR c++/21853
      	* g++.dg/expr/static_cast6.C: New test.
      
      From-SVN: r100560
      Mark Mitchell committed
    • darwin.h (LINK_SPEC): Pass -syslibroot to linker when -isysroot passed. · d0b73789
      	* config/darwin.h (LINK_SPEC): Pass -syslibroot to linker
      	when -isysroot passed.
      
      From-SVN: r100559
      Geoffrey Keating committed
    • re PR c/21879 (Memory management problem) · d4d1cfd4
      	PR c/21879
      	* c-decl.c (start_function): Restore label_context_stack_se and
      	label_context_stack_vm  if returning with an error.
      
      From-SVN: r100557
      Joseph Myers committed
    • configure.ac: Check declaration for asprintf, needed by libiberty.h. · 7391b66c
              * configure.ac: Check declaration for asprintf, needed by
              libiberty.h.
              * configure: Regenerate.
              * config.in: Likewise.
      
      From-SVN: r100555
      Gabriel Dos Reis committed
    • tree-ssa-dom.c (record_edge_info): Use last_basic_block to allocate info array. · 441e96b5
      
      	* tree-ssa-dom.c (record_edge_info): Use last_basic_block to
      	allocate info array.
      	* tree-vrp.c (extract_range_from_unary_expr): Set resulting
      	range to varying in cast expressions that change
      	TYPE_PRECISION.
      
      testsuite/ChangeLog
      
      	* gcc.dg/tree-ssa/vrp14.c: New test.
      
      From-SVN: r100554
      Diego Novillo committed
    • ITransport.java: New file. · 658a82f8
              * gnu/classpath/jdwp/transport/ITransport.java: New file.
              * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
      
      From-SVN: r100553
      Keith Seitz committed
    • mips.opt: Add RejectNegative to divide-breaks and divide-traps. · 25e3d99d
      2005-06-03  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/mips.opt: Add RejectNegative to divide-breaks and
              divide-traps.
      
      From-SVN: r100552
      Eric Christopher committed
    • 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