diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-05 14:36:18 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-05 14:36:18 +0000 |
commit | 821ac7015ac8c65620c572620dd6d2259f92d748 (patch) | |
tree | 179e8e98a6c7b2d2d5a67c3d57f385997eec7a50 /gcc/tree-parloops.c | |
parent | 4c79581c43909792ae21505a730170adbe57e1ef (diff) | |
download | gcc-821ac7015ac8c65620c572620dd6d2259f92d748.tar.gz |
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r-- | gcc/tree-parloops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 0ae5d444e67..e791ac3ed49 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -1740,6 +1740,10 @@ create_parallel_loop (struct loop *loop, tree loop_fn, tree data, gimple_set_location (stmt, loc); gsi_insert_after (&gsi, stmt, GSI_NEW_STMT); + /* After the above dom info is hosed. Re-compute it. */ + free_dominance_info (CDI_DOMINATORS); + calculate_dominance_info (CDI_DOMINATORS); + return paral_bb; } |