summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-into-ssa.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 06fcc4f9a00..166654f51d3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
+ * tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated
+ with BITMAP_XMALLOC.
+
* tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated
with BITMAP_XMALLOC.
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index 90f4aa58d8d..052674f73d1 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -883,8 +883,8 @@ static void
def_blocks_free (void *p)
{
struct def_blocks_d *entry = p;
- BITMAP_FREE (entry->def_blocks);
- BITMAP_FREE (entry->livein_blocks);
+ BITMAP_XFREE (entry->def_blocks);
+ BITMAP_XFREE (entry->livein_blocks);
free (entry);
}