diff options
author | Richard Biener <rguenther@suse.de> | 2014-06-06 07:38:07 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-06-06 07:38:07 +0000 |
commit | 726338f44ec906a894236b5cee6dcc7ab32fc30c (patch) | |
tree | 20e556c7d8b7c03079833b61519c222ba819f783 /gcc/tree-eh.c | |
parent | ffa4602f4d54c80b978b3f6c8c376fbf75b72277 (diff) | |
download | gcc-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/tree-eh.c')
-rw-r--r-- | gcc/tree-eh.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index db02cbd..9f8408d 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -3212,8 +3212,7 @@ lower_resx (basic_block bb, gimple stmt, struct pointer_map_t *mnt_map) gimple_stmt_iterator gsi2; new_bb = create_empty_bb (bb); - if (current_loops) - add_bb_to_loop (new_bb, bb->loop_father); + add_bb_to_loop (new_bb, bb->loop_father); lab = gimple_block_label (new_bb); gsi2 = gsi_start_bb (new_bb); @@ -4210,8 +4209,7 @@ cleanup_empty_eh_merge_phis (basic_block new_bb, basic_block old_bb, we may have created a loop with multiple latches. All of this isn't easily fixed thus cancel the affected loop and mark the other loop as possibly having multiple latches. */ - if (current_loops - && e->dest == e->dest->loop_father->header) + if (e->dest == e->dest->loop_father->header) { e->dest->loop_father->header = NULL; e->dest->loop_father->latch = NULL; |