diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-inline.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be303a4..dcd4614 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2014-02-17 Richard Biener <rguenther@suse.de> + * tree-inline.c (expand_call_inline): Release the virtual + operand defined by the call we are about to inline. + +2014-02-17 Richard Biener <rguenther@suse.de> + * tree-ssa.c (verify_ssa): If verify_def found an error, ICE. 2014-02-17 Kirill Yukhin <kirill.yukhin@intel.com> diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 439ef4c..16c0622 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -4364,6 +4364,9 @@ expand_call_inline (basic_block bb, gimple stmt, copy_body_data *id) /* Unlink the calls virtual operands before replacing it. */ unlink_stmt_vdef (stmt); + if (gimple_vdef (stmt) + && TREE_CODE (gimple_vdef (stmt)) == SSA_NAME) + release_ssa_name (gimple_vdef (stmt)); /* If the inlined function returns a result that we care about, substitute the GIMPLE_CALL with an assignment of the return |