summaryrefslogtreecommitdiff
path: root/gcc/tree-cfgcleanup.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-14 16:01:10 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-14 16:01:10 +0000
commit4e9768188f093c874916a3a7399802af58fe0c2a (patch)
tree4464f678351d15a2ac886efa3d2f24239ee68188 /gcc/tree-cfgcleanup.c
parent1cface392e052c3530d3ea14b977e2a4f699dc74 (diff)
downloadgcc-4e9768188f093c874916a3a7399802af58fe0c2a.tar.gz
* graphite-scop-detection.c (create_sese_edges): Compute dominance
info before trying to fix loop structure. * cfgloopmanip.c (fix_loop_structure): Require fast DOM queries. * tree-cfgcleanup.c (repair_loop_structures): Likewise. * cfgloop.c (verify_loop_structure): Verify loop fathers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190390 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfgcleanup.c')
-rw-r--r--gcc/tree-cfgcleanup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-cfgcleanup.c b/gcc/tree-cfgcleanup.c
index b665c5890be..45f33682e30 100644
--- a/gcc/tree-cfgcleanup.c
+++ b/gcc/tree-cfgcleanup.c
@@ -737,6 +737,8 @@ repair_loop_structures (void)
{
bitmap changed_bbs;
+ calculate_dominance_info (CDI_DOMINATORS);
+
timevar_push (TV_REPAIR_LOOPS);
changed_bbs = BITMAP_ALLOC (NULL);
fix_loop_structure (changed_bbs);