summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ivcanon.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-04-29 16:01:36 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-04-29 16:01:36 +0000
commitace4eb901316af20584b2273c6ca2056b779ef7a (patch)
tree6c5fe4a3772a4fe5b65de1e9a97f5516ae540a3d /gcc/tree-ssa-loop-ivcanon.c
parent1447bf0556ad0cb300aabd1b883fedee314b6fca (diff)
downloadgcc-ace4eb901316af20584b2273c6ca2056b779ef7a.tar.gz
re PR tree-optimization/36078 (gfortran fails to build cpu2006/465.tonto)
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. From-SVN: r134799
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. */