summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivcanon.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-29 16:01:36 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-29 16:01:36 +0000
commitb2a225bac5d8cb3609d271a19b262114c97593d5 (patch)
tree6c5fe4a3772a4fe5b65de1e9a97f5516ae540a3d /gcc/tree-ssa-loop-ivcanon.c
parentf4cd9b29e57a095e0c0a3e431733a5e58cbd0399 (diff)
downloadgcc-b2a225bac5d8cb3609d271a19b262114c97593d5.tar.gz
2008-04-29 Richard Guenther <rguenther@suse.de>
PR tree-optimization/36078 * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Update virtual SSA form after cleaning up the CFG. * gfortran.fortran-torture/compile/pr36078.f90: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134799 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
-rw-r--r--gcc/tree-ssa-loop-ivcanon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c
index 1472b0d237d..67af0b374d6 100644
--- a/gcc/tree-ssa-loop-ivcanon.c
+++ b/gcc/tree-ssa-loop-ivcanon.c
@@ -366,7 +366,8 @@ tree_unroll_loops_completely (bool may_increase_size, bool unroll_outer)
/* This will take care of removing completely unrolled loops
from the loop structures so we can continue unrolling now
innermost loops. */
- cleanup_tree_cfg ();
+ if (cleanup_tree_cfg ())
+ update_ssa (TODO_update_ssa_only_virtuals);
/* Clean up the information about numbers of iterations, since
complete unrolling might have invalidated it. */