Commit c742772c by Richard Biener Committed by Richard Biener

tree-inline.c (expand_call_inline): Release the virtual operand defined by the…

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-inline.c (expand_call_inline): Release the virtual
	operand defined by the call we are about to inline.

From-SVN: r207825
parent 0492158e
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>
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment