summaryrefslogtreecommitdiff
path: root/gcc/ipa-split.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r--gcc/ipa-split.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index 3eec70c78f4..be1d2cce230 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -1230,6 +1230,7 @@ split_function (struct split_point *split_point)
}
call = gimple_build_call_vec (node->symbol.decl, args_to_pass);
gimple_set_block (call, DECL_INITIAL (current_function_decl));
+ VEC_free (tree, heap, args_to_pass);
/* We avoid address being taken on any variable used by split part,
so return slot optimization is always possible. Moreover this is