diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2007-01-29 17:25:04 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2007-01-29 17:25:04 +0000 |
commit | 48e540b04f64910218cc702d0e05760e2eb1ef44 (patch) | |
tree | a919a2c1431ecdd74cd19e6f3977b96f57143280 /gcc/tree-ssa-structalias.c | |
parent | 99af1cca0dee34626dfdfbe9754a8f59c0d6af35 (diff) | |
download | gcc-48e540b04f64910218cc702d0e05760e2eb1ef44.zip gcc-48e540b04f64910218cc702d0e05760e2eb1ef44.tar.gz gcc-48e540b04f64910218cc702d0e05760e2eb1ef44.tar.bz2 |
re PR tree-optimization/30630 (Trunk GCC hangs while compiling cpu2k6/perlbench at -O2)
2007-01-29 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/30630
* tree-ssa-structalias.c (do_complex_constraint): Mark correct
variable as changed.
From-SVN: r121295
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index dd95c9f..c57f1c2 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -1538,9 +1538,9 @@ do_complex_constraint (constraint_graph_t graph, constraint_t c, bitmap delta) if (flag) { get_varinfo (t)->solution = tmp; - if (!TEST_BIT (changed, c->lhs.var)) + if (!TEST_BIT (changed, t)) { - SET_BIT (changed, c->lhs.var); + SET_BIT (changed, t); changed_count++; } } @@ -2065,6 +2065,7 @@ solve_graph (constraint_graph_t graph) bitmap solution; VEC(constraint_t,heap) *complex = graph->complex[i]; bool solution_empty; + RESET_BIT (changed, i); changed_count--; |