1. 12 Apr, 2012 6 commits
    • dbgcnt.def (ira_move): New counter. · acf41a74
      	* dbgcnt.def (ira_move): New counter.
      	* ira-int.h (ira_create_new_reg): Declare function.
      	(first_moveable_pseudo, last_moveable_pseudo): Declare variables.
      	* ira-emit.c (ira_create_new_reg): Renamed from craete_new_reg and
      	no longer static.  All callers changed.
      	* ira.c: Include "dbgcnt.h".
      	(rtx_moveable_p, insn_dominated_by_p, find_moveable_pseudos,
      	move_unallocated_pseudos): New static functions.
      	(first_moveable_pseudo, last_moveable_pseudo): New global variables.
      	(pseudo_replaced_reg, pseudo_move_insn): New static variables.
      	(ira): Call find_moveable_pseudos and move_unallocated_pseudos.
      	* ira-costs.c (find_costs_and_classes): Assign a memory cost of zero
      	to the pseudos generated in find_moveable_pseudos.
      	* Makefile.in (ira.o): Add $(DBGCNT_H).
      
      From-SVN: r186378
      Bernd Schmidt committed
    • re PR libstdc++/52942 (using std::ref with a std::unordered_map fails to compile) · b9b09214
      2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/52942
      	* include/bits/stl_function.h (_Identity, _Select1st, _Select2nd):
      	In C++11 mode do not derive from std::unary_function.
      	* include/ext/functional (identity, select1st, select2nd): Adjust.
      	* testsuite/23_containers/unordered_map/requirements/52942.cc: New.
      	* testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise.
      
      From-SVN: r186375
      Paolo Carlini committed
    • re PR tree-optimization/52943 (likely wrong code bug caused by predictive commoning) · 5f1fab58
      2012-04-12  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/52943
      	* tree-chrec.h (chrec_is_positive): Remove.
      	* tree-scalar-evolution.c (chrec_is_positive): Move ...
      	* tree-data-ref.c (chrec_is_positive): ... here.  Make static.
      	Return false for a constant zero instead of negative.
      	(analyze_siv_subscript_cst_affine): Handle zero difference
      	in the initial condition explicitely.
      
      	* gcc.dg/torture/pr52943.c: New testcase.
      
      From-SVN: r186374
      Richard Guenther committed
    • tree-parloops.c (parallelize_loops): Also consult the upper bound for the number of iterations. · e5b332cd
      2012-04-12  Richard Guenther  <rguenther@suse.de>
      
      	* tree-parloops.c (parallelize_loops): Also consult the upper
      	bound for the number of iterations.
      	* tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Likewise.
      	(loop_prefetch_arrays): Likewise.
      
      From-SVN: r186373
      Richard Guenther committed
    • cfgloop.h (estimated_loop_iterations_int): Ditch 'conservative' parameter. · 652c4c71
      2012-04-12  Richard Guenther  <rguenther@suse.de>
      
      	* cfgloop.h (estimated_loop_iterations_int): Ditch
      	'conservative' parameter.
      	(max_stmt_executions_int): Likewise.
      	(estimated_loop_iterations): Likewise.
      	(max_stmt_executions): Likewise.
      	(max_loop_iterations): Declare.
      	(max_loop_iterations_int): Likewise.
      	(estimated_stmt_executions): Likewise.
      	(estimated_stmt_executions_int): Likewise.
      	* tree-ssa-loop-niter.c (estimated_loop_iterations):
      	Split parts to ...
      	(max_loop_iterations): ... this.
      	(estimated_loop_iterations_int): Split parts to ...
      	(max_loop_iterations_int): ... this.
      	(max_stmt_executions_int): Split parts to ...
      	(estimated_stmt_executions_int): ... this.
      	(max_stmt_executions): Split parts to ...
      	(estimated_stmt_executions): ... this.
      	* graphite-sese-to-poly.c (build_loop_iteration_domains): Adjust.
      	* predict.c (predict_loops): Likewise.
      	* tree-data-ref.c (max_stmt_executions_tree): Likewise.
      	(analyze_siv_subscript_cst_affine): Likewise.
      	(compute_overlap_steps_for_affine_1_2): Likewise.
      	(analyze_subscript_affine_affine): Likewise.
      	(init_omega_for_ddr_1): Likewise.
      	* tree-parloops.c (parallelize_loops): Likewise.
      	* tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise.
      	(may_eliminate_iv): Likewise.
      	* tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Likewise.
      	(loop_prefetch_arrays): Likewise.
      	* tree-vrp.c (adjust_range_with_scev): Likewise.
      
      From-SVN: r186372
      Richard Guenther committed
    • Daily bump. · 0c924efa
      From-SVN: r186371
      GCC Administrator committed
  2. 11 Apr, 2012 34 commits