From a856e96f849318b2a909345ceff1828863b93c11 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 11 Sep 2008 14:32:24 +0200 Subject: [PATCH] * gimplify.c (pop_gimplify_context): Free bind_expr_stack. From-SVN: r140280 --- gcc/ChangeLog | 4 ++++ gcc/gimplify.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6eb9c8606677..f794028fe2c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-09-11 Jan Hubicka + + * gimplify.c (pop_gimplify_context): Free bind_expr_stack. + 2008-09-11 Jan Hubicka * function.c (free_after_compilation): Call insn_locators_free. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index dd8c3a3fa062..4f522577e612 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -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))