aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-05-13 22:10:43 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-05-13 15:10:43 -0700
commit8b7520861b562c297a3cda422241e4d85ab3788b (patch)
tree51f8ae0f5d6f8a3fcdbc9231092e2b52d6f740a6 /gcc
parent77e2332572cb97acdb2d1b381edc53c8795677d3 (diff)
downloadgcc-8b7520861b562c297a3cda422241e4d85ab3788b.zip
gcc-8b7520861b562c297a3cda422241e4d85ab3788b.tar.gz
gcc-8b7520861b562c297a3cda422241e4d85ab3788b.tar.bz2
tree-into-ssa.c (insert_phi_nodes_for): XFREE bitmaps allocated with BITMAP_XMALLOC.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-into-ssa.c (insert_phi_nodes_for): XFREE bitmaps allocated with BITMAP_XMALLOC. From-SVN: r81809
Diffstat (limited to 'gcc')
-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