OSDN Git Service

2011-04-28 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2011 13:06:44 +0000 (13:06 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2011 13:06:44 +0000 (13:06 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173067 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-structalias.c

index e8ff75e..1a21bea 100644 (file)
@@ -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.
index 0d6e098..3aab8ee 100644 (file)
@@ -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);