aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-03-05 14:36:18 +0000
committerRichard Guenther <rguenther@suse.de>2012-03-05 14:36:18 +0000
commit138a6211a17d4deaaa2dd9bb5e18d4eeb79ae257 (patch)
tree179e8e98a6c7b2d2d5a67c3d57f385997eec7a50 /gcc/tree-if-conv.c
parent0c22a579ea44e48caab174c373b87650e8f87358 (diff)
2012-03-05 Richard Guenther <rguenther@suse.de>
* cfgexpand.c (gimple_expand_cfg): Free dominator info. * tree-if-conv.c (combine_blocks): Free post-dominator info after breaking it. * tree-parloops.c (create_parallel_loop): Free and re-compute dominator info after breaking it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@184933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r--gcc/tree-if-conv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index ca9503f3e47..99f3a9b3bd9 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -1712,6 +1712,9 @@ combine_blocks (struct loop *loop)
free (ifc_bbs);
ifc_bbs = NULL;
+
+ /* Post-dominators are corrupt now. */
+ free_dominance_info (CDI_POST_DOMINATORS);
}
/* If-convert LOOP when it is legal. For the moment this pass has no