summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/tree-ssa-structalias.c3
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e8ff75e8be1..1a21beac63e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,14 @@
2011-04-28 Richard Guenther <rguenther@suse.de>
+ PR bootstrap/48804
+ Revert
+ 2011-04-28 Richard Guenther <rguenther@suse.de>
+
+ * tree-ssa-structalias.c (solve_constraints): Build succ graph
+ as late as possible.
+
+2011-04-28 Richard Guenther <rguenther@suse.de>
+
* tree-ssa-structalias.c (dump_constraint): Don't end the line.
(debug_constraint): Do it here.
(dump_constraints): And here.
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 0d6e098028b..3aab8ee7a3d 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -6359,10 +6359,11 @@ solve_constraints (void)
fprintf (dump_file, "Rewriting constraints and unifying "
"variables\n");
rewrite_constraints (graph, si);
- free_var_substitution_info (si);
build_succ_graph ();
+ free_var_substitution_info (si);
+
/* Attach complex constraints to graph nodes. */
move_complex_constraints (graph);