aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-05-13 15:21:53 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-05-13 08:21:53 -0700
commitcfa4cb00a7b0b37cf614e824482260ebeb9ce288 (patch)
tree53586b155a84f0323b863cd22602bd4685d6a860 /gcc
parent0b87eff52480d8fea4628b95df61998ef0dab95c (diff)
downloadgcc-cfa4cb00a7b0b37cf614e824482260ebeb9ce288.zip
gcc-cfa4cb00a7b0b37cf614e824482260ebeb9ce288.tar.gz
gcc-cfa4cb00a7b0b37cf614e824482260ebeb9ce288.tar.bz2
tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function.
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. From-SVN: r81788
Diffstat (limited to 'gcc')
-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