From cfa4cb00a7b0b37cf614e824482260ebeb9ce288 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Thu, 13 May 2004 15:21:53 +0000 Subject: [PATCH] tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function. 2004-05-13 Andrew Pinski * tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function. From-SVN: r81788 --- gcc/ChangeLog | 3 +++ gcc/tree-ssa-dom.c | 3 +++ 2 files changed, 6 insertions(+) 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 + * 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 -- 2.7.4