aboutsummaryrefslogtreecommitdiff
path: root/gcc/tracer.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-06-06 07:38:07 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-06-06 07:38:07 +0000
commit726338f44ec906a894236b5cee6dcc7ab32fc30c (patch)
tree20e556c7d8b7c03079833b61519c222ba819f783 /gcc/tracer.c
parentffa4602f4d54c80b978b3f6c8c376fbf75b72277 (diff)
downloadgcc-726338f44ec906a894236b5cee6dcc7ab32fc30c.zip
gcc-726338f44ec906a894236b5cee6dcc7ab32fc30c.tar.gz
gcc-726338f44ec906a894236b5cee6dcc7ab32fc30c.tar.bz2
cfgexpand.c (expand_gimple_cond): Remove check for current_loops.
2014-06-06 Richard Biener <rguenther@suse.de> * cfgexpand.c (expand_gimple_cond): Remove check for current_loops. (construct_init_block): Likewise. (construct_exit_block): Likewise. (pass_expand::execute): Likewise. * graphite.c (graphite_transforms): Replace check for current_loops with a check for > 1 loops. (pass_graphite_transforms::execute): Adjust. * ipa-split.c (split_function): Remove check for current_loops. * omp-low.c (expand_parallel_call): Likewise. (expand_omp_for_init_counts): Likewise. (extract_omp_for_update_vars): Likewise. (expand_omp_for_generic): Likewise. (expand_omp_sections): Likewise. (expand_omp_target): Likewise. * tracer.c (tail_duplicate): Likewise. (pass_tracer::execute): Likewise. * trans-mem.c (expand_transaction): Likewise. * tree-complex.c (expand_complex_div_wide): Likewise. * tree-eh.c (lower_resx): Likewise. (cleanup_empty_eh_merge_phis): Likewise. * tree-predcom.c (run_tree_predictive_commoning): Replace check for current_loops with a check for > 1 loops. (pass_predcom::execute): Adjust. * tree-scalar-evolution.c (scev_reset): Remove check for current_loops. * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise. * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise. * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise. * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise. * tree-switch-conversion.c (process_switch): Likewise. * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise. * tree-vrp.c (vrp_visit_phi_node): Likewise. (execute_vrp): Likewise. * ubsan.c (ubsan_expand_null_ifn): Likewise. From-SVN: r211306
Diffstat (limited to 'gcc/tracer.c')
-rw-r--r--gcc/tracer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tracer.c b/gcc/tracer.c
index 16c6949..ae05879 100644
--- a/gcc/tracer.c
+++ b/gcc/tracer.c
@@ -316,8 +316,7 @@ tail_duplicate (void)
of all do { } while loops. Do not do that - it is
not profitable and it might create a loop with multiple
entries or at least rotate the loop. */
- && (!current_loops
- || bb2->loop_father->header != bb2))
+ && bb2->loop_father->header != bb2)
{
edge e;
basic_block copy;
@@ -419,8 +418,7 @@ pass_tracer::execute (function *fun)
{
free_dominance_info (CDI_DOMINATORS);
/* If we changed the CFG schedule loops for fixup by cleanup_cfg. */
- if (current_loops)
- loops_state_set (LOOPS_NEED_FIXUP);
+ loops_state_set (LOOPS_NEED_FIXUP);
}
if (dump_file)