[PATCH] Fix PR48804
Richard Guenther
rguenther@suse.de
Thu Apr 28 13:40:00 GMT 2011
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 <rguenther@suse.de>
Revert
2011-04-28 Richard Guenther <rguenther@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);
More information about the Gcc-patches
mailing list