]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gimplify.c (pop_gimplify_context): Free bind_expr_stack.
authorJan Hubicka <jh@suse.cz>
Thu, 11 Sep 2008 12:32:24 +0000 (14:32 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 11 Sep 2008 12:32:24 +0000 (12:32 +0000)
From-SVN: r140280

gcc/ChangeLog
gcc/gimplify.c

index 6eb9c86066777138b5b941783be61f91bcfa3c30..f794028fe2c6287f64c1bc60cb8bfeb74b2d7564 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-11  Jan Hubicka  <jh@suse.cz>
+
+       * gimplify.c (pop_gimplify_context): Free bind_expr_stack.
+
 2008-09-11  Jan Hubicka  <jh@suse.cz>
 
        * function.c (free_after_compilation): Call insn_locators_free.
index dd8c3a3fa062fa4e385e3d489f9763995ed3c754..4f522577e612d2678d190b3ed9ef29551dd54a82 100644 (file)
@@ -216,6 +216,7 @@ pop_gimplify_context (gimple body)
 
   gcc_assert (c && (c->bind_expr_stack == NULL
                    || VEC_empty (gimple, c->bind_expr_stack)));
+  VEC_free (gimple, heap, c->bind_expr_stack);
   gimplify_ctxp = c->prev_context;
 
   for (t = c->temps; t ; t = TREE_CHAIN (t))