summaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-28 09:09:19 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-28 09:09:19 +0000
commitb06d96b5b8e9479feaf4c84bb19e044c3df95e02 (patch)
tree0e9890285b0982c413484fdd593f71255fd1a8f2 /gcc/tree-vrp.c
parenta369a55c5f8d099ee641b0561200dafd197df552 (diff)
downloadgcc-b06d96b5b8e9479feaf4c84bb19e044c3df95e02.tar.gz
2008-04-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/36066 * tree-vrp.c (execute_vrp): Cleanup the CFG only after finalizing SCEV and loop. * gcc.dg/torture/pr36066.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134745 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vrp.c')
-rw-r--r--gcc/tree-vrp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index f65a3c397c8..4b409e46aaf 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -6753,10 +6753,7 @@ execute_vrp (void)
SWITCH_LABELS (su->stmt) = su->vec;
if (VEC_length (edge, to_remove_edges) > 0)
- {
- free_dominance_info (CDI_DOMINATORS);
- cleanup_tree_cfg ();
- }
+ free_dominance_info (CDI_DOMINATORS);
VEC_free (edge, heap, to_remove_edges);
VEC_free (switch_update, heap, to_update_switch_stmts);