From bb7d15b65207645998ae56ae2a8eb19465500ff0 Mon Sep 17 00:00:00 2001 From: pinskia Date: Thu, 13 May 2004 15:28:07 +0000 Subject: [PATCH] 2004-05-13 Andrew Pinski * tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the end of the block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81793 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 3 +++ gcc/tree-outof-ssa.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 166654f..812e760 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-05-13 Andrew Pinski + * 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 3093192..af5bf51 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); + } } -- 2.7.4