aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-03-05 14:36:18 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-03-05 14:36:18 +0000
commitcd7d9fd77bf49f5437ec9abe5e25af3820b200c4 (patch)
tree179e8e98a6c7b2d2d5a67c3d57f385997eec7a50 /gcc/cfgexpand.c
parentb55f62ccae9766c687dea6afc60f701a4490b0f1 (diff)
downloadgcc-cd7d9fd77bf49f5437ec9abe5e25af3820b200c4.zip
gcc-cd7d9fd77bf49f5437ec9abe5e25af3820b200c4.tar.gz
gcc-cd7d9fd77bf49f5437ec9abe5e25af3820b200c4.tar.bz2
cfgexpand.c (gimple_expand_cfg): Free dominator info.
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. From-SVN: r184933
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index bde15f6..2f38bb4 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -4362,6 +4362,8 @@ gimple_expand_cfg (void)
/* Some backends want to know that we are expanding to RTL. */
currently_expanding_to_rtl = 1;
+ /* Dominators are not kept up-to-date as we may create new basic-blocks. */
+ free_dominance_info (CDI_DOMINATORS);
rtl_profile_for_bb (ENTRY_BLOCK_PTR);