aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-ssa-dom.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f657b17..22144a6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
+ * tree-ssa-dom.c (tree_ssa_dominator_optimize):
+ Free nonzero_vars at the end of the function.
+
* convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a
need to generate code instead of a NOP_EXPR.
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 0daf59b..ed47ea6 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -630,6 +630,9 @@ tree_ssa_dominator_optimize (void)
/* And finalize the dominator walker. */
fini_walk_dominator_tree (&walk_data);
+
+ /* Free nonzero_vars. */
+ BITMAP_XFREE (nonzero_vars);
}
static bool