]> gcc.gnu.org Git - gcc.git/commitdiff
tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated with BITMAP_XMALLOC.
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 13 May 2004 15:24:47 +0000 (15:24 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 13 May 2004 15:24:47 +0000 (08:24 -0700)
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated
        with BITMAP_XMALLOC.

From-SVN: r81789

gcc/ChangeLog
gcc/tree-ssa-alias.c

index 22144a6242441120d1c88a6752d88b809c155863..06fcc4f9a0051c26e28c95000efacc92cd36d3c9 100644 (file)
@@ -1,5 +1,8 @@
 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
 
+       * tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated
+       with BITMAP_XMALLOC.
+
        * tree-ssa-dom.c (tree_ssa_dominator_optimize):
        Free nonzero_vars at the end of the function.
 
index 6746f4e5ac59232e1c04ff876a3c4ddea8863f58..02eb5139698f9d5de5f9d234fdffa82ec59082e3 100644 (file)
@@ -387,9 +387,9 @@ delete_alias_info (struct alias_info *ai)
 {
   size_t i;
 
-  BITMAP_FREE (ai->ssa_names_visited);
+  BITMAP_XFREE (ai->ssa_names_visited);
   ai->processed_ptrs = NULL;
-  BITMAP_FREE (ai->addresses_needed);
+  BITMAP_XFREE (ai->addresses_needed);
 
   for (i = 0; i < ai->num_addressable_vars; i++)
     {
@@ -406,9 +406,9 @@ delete_alias_info (struct alias_info *ai)
   free (ai->pointers);
 
   ai->num_references = NULL;
-  BITMAP_FREE (ai->written_vars);
-  BITMAP_FREE (ai->dereferenced_ptrs_store);
-  BITMAP_FREE (ai->dereferenced_ptrs_load);
+  BITMAP_XFREE (ai->written_vars);
+  BITMAP_XFREE (ai->dereferenced_ptrs_store);
+  BITMAP_XFREE (ai->dereferenced_ptrs_load);
 
   free (ai);
 }
This page took 0.079565 seconds and 5 git commands to generate.