aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfgcleanup.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-06-19 07:26:50 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-06-19 07:26:50 +0000
commitadb7eaa2bac31047b37cc8b9cb7b4121ca0a8fea (patch)
tree45140d490b96fcec2f3b954c5e0f7d1496ea0b05 /gcc/tree-cfgcleanup.c
parentdb9bbdeca441e21f50b12cbfc2ff34992242b4f3 (diff)
downloadgcc-adb7eaa2bac31047b37cc8b9cb7b4121ca0a8fea.zip
gcc-adb7eaa2bac31047b37cc8b9cb7b4121ca0a8fea.tar.gz
gcc-adb7eaa2bac31047b37cc8b9cb7b4121ca0a8fea.tar.bz2
tree-ssa-loop-niter.h (estimate_numbers_of_iterations): Take struct function as arg.
2017-06-19 Richard Biener <rguenther@suse.de> * tree-ssa-loop-niter.h (estimate_numbers_of_iterations): Take struct function as arg. (estimate_numbers_of_iterations): Export overload with loop arg. (free_numbers_of_iterations_estimates_loop): Use an overload of free_numbers_of_iterations_estimates instead. * tree-cfg.c (remove_bb): Adjust. * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Likewise. * tree-parloops.c (gen_parallel_loop): Likewise. * tree-ssa-loop-ivcanon.c (canonicalize_induction_variables): Likewise. (tree_unroll_loops_completely): Likewise. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Use an overload instead and export. (estimated_loop_iterations): Adjust. (max_loop_iterations): Likewise. (likely_max_loop_iterations): Likewise. (estimate_numbers_of_iterations): Take struct function as arg and adjust. (loop_exits_before_overflow): Adjust. (free_numbers_of_iterations_estimates_loop): Use an overload. * tree-vect-loop.c (vect_analyze_loop_form): Adjust. * tree-vectorizer.c (vect_free_loop_info_assumptions): Likewise. From-SVN: r249358
Diffstat (limited to 'gcc/tree-cfgcleanup.c')
-rw-r--r--gcc/tree-cfgcleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c
index 94a172f..4cab592 100644
--- a/gcc/tree-cfgcleanup.c
+++ b/gcc/tree-cfgcleanup.c
@@ -959,7 +959,7 @@ remove_forwarder_block_with_phi (basic_block bb)
{
dest->loop_father->any_upper_bound = false;
dest->loop_father->any_likely_upper_bound = false;
- free_numbers_of_iterations_estimates_loop (dest->loop_father);
+ free_numbers_of_iterations_estimates (dest->loop_father);
}
}