aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-into-ssa.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 04b9cde..d42c24b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
+ * tree-into-ssa.c (insert_phi_nodes_for): XFREE
+ bitmaps allocated with BITMAP_XMALLOC.
+
* loop-unswitch.c (unswitch_single_loop): Free bbs at
the end.
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index 052674f..34c31a0 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -694,7 +694,7 @@ insert_phi_nodes_for (tree var, bitmap *dfs, varray_type *work_stack)
create_phi_node (var, BASIC_BLOCK (bb_index));
});
- BITMAP_FREE (phi_insertion_points);
+ BITMAP_XFREE (phi_insertion_points);
}
/* SSA Rewriting Step 2. Rewrite every variable used in each statement in