Looking closer reveals a use-after-free, so this reverts the
portion of the patch likely causing 48804.

Committed as obvious.

Richard.

2011-04-28  Richard Guenther  <rguent...@suse.de>

        Revert
        2011-04-28  Richard Guenther  <rguent...@suse.de>

        * tree-ssa-structalias.c (solve_constraints): Build succ graph
        as late as possible.

Index: gcc/tree-ssa-structalias.c
===================================================================
--- gcc/tree-ssa-structalias.c  (revision 173066)
+++ gcc/tree-ssa-structalias.c  (working copy)
@@ -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);
 

Reply via email to