From 520f0c480386a790eb5a99a1d3295dd234ea4bce Mon Sep 17 00:00:00 2001
From: Andrew Pinski <pinskia@physics.uc.edu>
Date: Thu, 13 May 2004 15:28:07 +0000
Subject: [PATCH] tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the
 end of the block.

2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at
        the end of the block.

From-SVN: r81793
---
 gcc/ChangeLog        | 3 +++
 gcc/tree-outof-ssa.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 166654f51d32..812e760c08d8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
 
+	* tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at
+	the end of the block.
+
 	* tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated
 	with BITMAP_XMALLOC.
 
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c
index 30931929d432..af5bf51f2acf 100644
--- a/gcc/tree-outof-ssa.c
+++ b/gcc/tree-outof-ssa.c
@@ -2098,6 +2098,9 @@ rewrite_vars_out_of_ssa (bitmap vars)
 	  var_ann (referenced_var (i))->out_of_ssa_tag = 0;
 	});
 
+     /* Free the map as we are done with it.  */
+     delete_var_map (map);
+
     }
 }
 
-- 
GitLab