diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-08 20:47:46 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-08 20:47:46 +0000 |
commit | b50f273d5742f083a2abc013c647ae060b505b4d (patch) | |
tree | c3291325a3dfa4d0b79bb6897850ad4c1d83dcca /gcc/tree-stdarg.c | |
parent | b3c8ca24df2e21a2cb23f24e90a485426608720d (diff) | |
download | gcc-b50f273d5742f083a2abc013c647ae060b505b4d.tar.gz |
[PATCH] [3/n] Fix minor SSA_NAME leaks
* tree-stdarg.c (expand_ifn_va_arg_1): Add missing call to
unlink_stmt_vdef and release_ssa_name_fn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-stdarg.c')
-rw-r--r-- | gcc/tree-stdarg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-stdarg.c b/gcc/tree-stdarg.c index d69fa060497..3e6d98c686c 100644 --- a/gcc/tree-stdarg.c +++ b/gcc/tree-stdarg.c @@ -1080,6 +1080,8 @@ expand_ifn_va_arg_1 (function *fun) /* Remove the IFN_VA_ARG gimple_call. It's the last stmt in the bb. */ + unlink_stmt_vdef (stmt); + release_ssa_name_fn (fun, gimple_vdef (stmt)); gsi_remove (&i, true); gcc_assert (gsi_end_p (i)); |