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))