summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-pre.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-01 10:02:29 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-08-01 10:02:29 +0000
commit6ec39557ec85085ac0fd05b12e957cb2eb41120b (patch)
treeb634ace81030bbcab12da5960a3c610e31ef5109 /gcc/tree-ssa-pre.c
parentc0c6c14042c390db321b4965759a3eae7214b5e2 (diff)
downloadgcc-6ec39557ec85085ac0fd05b12e957cb2eb41120b.tar.gz
* tree-outof-ssa.c (check_replaceable): Do not allocate def_vars
bitmap when not needed. * tree-ssa-pre.c (bitmap_set_and, bitmap_set_and_compl): Free temporary bitmaps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115851 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r--gcc/tree-ssa-pre.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index 4c0f2f419aa..f1383b4e435 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -624,7 +624,7 @@ bitmap_set_and (bitmap_set_t dest, bitmap_set_t orig)
if (!bitmap_bit_p (dest->values, VALUE_HANDLE_ID (val)))
bitmap_clear_bit (dest->expressions, i);
}
-
+ BITMAP_FREE (temp);
}
/* Perform bitmapped value set operation DEST = DEST & ~ORIG. */
@@ -645,6 +645,7 @@ bitmap_set_and_compl (bitmap_set_t dest, bitmap_set_t orig)
if (!bitmap_bit_p (dest->values, VALUE_HANDLE_ID (val)))
bitmap_clear_bit (dest->expressions, i);
}
+ BITMAP_FREE (temp);
}
/* Return true if the bitmap set SET is empty. */