1. 21 Nov, 2013 11 commits
    • tree-vect-loop-manip.c (vect_build_loop_niters, [...]): Move ... · f3c92486
      2013-11-21  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-loop-manip.c (vect_build_loop_niters,
      	vect_generate_tmps_on_preheader): Move ...
      	* tree-vect-loop.c (vect_build_loop_niters,
      	vect_generate_tmps_on_preheader): ... here and simplify.
      	(vect_transform_loop): Call them here and pass down results
      	to consumers.
      	* tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound):
      	Get niter variables from caller.
      	(vect_do_peeling_for_alignment): Likewise.
      	* tree-vectorizer.h (vect_generate_tmps_on_preheader): Remove.
      	(vect_do_peeling_for_loop_bound, vect_do_peeling_for_alignment):
      	Adjust prototypes.
      
      From-SVN: r205199
      Richard Biener committed
    • tree-ssa-loop-ch.c (copy_loop_headers): Decrement nb_iterations_upper_bound by one. · 72769217
      2013-11-21  Richard Biener  <rguenther@suse.de>
      
      	* tree-ssa-loop-ch.c (copy_loop_headers): Decrement
      	nb_iterations_upper_bound by one.
      
      From-SVN: r205198
      Richard Biener committed
    • re PR tree-optimization/59058 (wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)) · d995e887
      2013-11-21  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/59058
      	* tree-loop-distribution.c (struct partition_s): Add plus_one
      	member.
      	(build_size_arg_loc): Apply niter adjustment here.
      	(generate_memset_builtin): Adjust.
      	(generate_memcpy_builtin): Likewise.
      	(classify_partition): Do not use number_of_exit_cond_executions
      	but record whether niter needs to be adjusted.
      
      From-SVN: r205197
      Richard Biener committed
    • tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement could throw. · d091cd30
      	* tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement
      	could throw.
      
      From-SVN: r205196
      Eric Botcazou committed
    • re PR libfortran/59227 (FAIL: gfortran.dg/erf_3.F90 -O0 execution test) · 933cfd4a
      	PR libfortran/59227
      	* intrinsics/erfc_scaled.c (erfc_scaled_r16): Don't define if
      	__float128 is not available.
      
      From-SVN: r205193
      Francois-Xavier Coudert committed
    • Fix ChangeLog entry. · 408e3c1e
      From-SVN: r205192
      Oleg Endo committed
    • re PR target/53976 ([SH] Unnecessary clrt/sett after bt/bf) · ac973375
      	PR target/53976
      	* config/sh/sh_optimize_sett_clrt.cc: New SH specific RTL pass.
      	* config/sh/sh.c (register_sh_passes): Add sh_optimize_sett_clrt pass.
      	* config/sh/sh/t-sh (sh_optimize_sett_clrt pass.o): New entry.
      	* config.gcc (sh[123456789lbe]*-*-* | sh-*-*): Add
      	sh_optimize_sett_clrt pass.o to	extra_objs.
      
      	PR target/53976
      	* gcc.target/sh/pr53976-1.c: New.
      
      From-SVN: r205191
      Oleg Endo committed
    • Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros · 6626665f
      gcc/
      2013-11-20  David Malcolm  <dmalcolm@redhat.com>
      
      	* cfg.c (dump_edge_info): Remove redundant comment.
      	* cfgcleanup.c (outgoing_edges_match): Reword reference to
      	EXIT_BLOCK_PTR in comment.
      	(try_optimize_cfg): Likewise.
      	* cfgrtl.c (last_bb_in_partition): Likewise.
      	* cgraph.c (cgraph_node_cannot_return): Likewise.
      	* function.c (thread_prologue_and_epilogue_insns): Likewise.
      	* graphite-scop-detection.c (scopdet_basic_block_info): Likewise.
      	* ipa-split.c (consider_split): Likewise.
      	* profile.c (find_spanning_tree): Likewise.
      	* sched-int.h (common_sched_info_def.add_block): Likewise.
      	* dominance.c (calc_dfs_tree_nonrec): Reword references in
      	comments to now removed ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros.
      	* tree-cfgcleanup.c (cleanup_control_flow_bb): Reword references
      	in comments to now removed ENTRY_BLOCK_PTR macro.
      	(tree_forwarder_block_p): Reword reference in comment to
      	EXIT_BLOCK_PTR.
      	* tree-inline.c (copy_cfg_body): Reword references in comments to
      	now removed ENTRY_BLOCK_PTR macro.
      	* tree-ssa-propagate.c (ssa_prop_init): Likewise.
      	* tree-scalar-evolution.h ( block_before_loop): Likewise.  Add
      	a comma to the comment to clarify the meaning.
      
      From-SVN: r205182
      David Malcolm committed
    • Fixup whitespace. · 21092e8a
      From-SVN: r205175
      Mike Stump committed
    • Daily bump. · 2f644449
      From-SVN: r205172
      GCC Administrator committed
    • gimplify.h (gimplify_hasher : typed_free_remove, [...]): Move to gimplify.c. · 45852dcc
      
      
      	* gimplify.h (gimplify_hasher : typed_free_remove, struct gimplify_ctx):
      	Move to gimplify.c.
      	(free_gimplify_stack): Add prototype.
      	* gimplify.c (gimplify_hasher:typed_free_remove): Relocate here.
      	(struct gimplify_ctx): Relocate here.
      	(gimplify_ctxp): Make static.
      	(ctx_pool, ctx_alloc, ctx_free, free_gimplify_stack): New.  Manage a 
      	list of struct gimplify_ctx.
      	(push_gimplify_context): Add default parameters and allocate a struct
      	from the pool.
      	(pop_gimplify_context): Free a struct back to the pool.
      	(gimplify_scan_omp_clauses, gimplify_omp_parallel, gimplify_omp_task,
      	gimplify_omp_workshare, gimplify_transaction, gimplify_body): Don't
      	use a local 'struct gimplify_ctx'.
      	* cgraphunit.c (expand_all_functions): call free_gimplify_stack.
      	* gimplify-me.c (force_gimple_operand_1, gimple_regimplify_operands):
      	Likewise.
      	* omp-low.c (lower_omp_sections, lower_omp_single, lower_omp_master,
      	lower_omp_ordered, lower_omp_critical, lower_omp_for,
      	create_task_copyfn, lower_omp_taskreg, lower_omp_target,
      	lower_omp_teams, execute_lower_omp): Likewise.
      	* gimple-fold.c (gimplify_and_update_call_from_tree): Likewise.
      	* tree-inline.c (optimize_inline_calls): Likewise.
      
      From-SVN: r205168
      Andrew MacLeod committed
  2. 20 Nov, 2013 29 commits