Commit 9b718f81 by Jan Hubicka Committed by Jan Hubicka

tree-inline.c (setup_one_parameter): Do not propagate into abnormal PHIs.

	* tree-inline.c (setup_one_parameter): Do not propagate into abnormal
	PHIs.

From-SVN: r120637
parent 3775c3dc
2007-01-10 Jan Hubicka <jh@suse.cz>
* tree-inline.c (setup_one_parameter): Do not propagate into abnormal
PHIs.
2007-01-10 Sa Liu <saliu@de.ibm.com> 2007-01-10 Sa Liu <saliu@de.ibm.com>
Ben Elliston <bje@au.ibm.com> Ben Elliston <bje@au.ibm.com>
......
...@@ -1339,7 +1339,8 @@ setup_one_parameter (copy_body_data *id, tree p, tree value, tree fn, ...@@ -1339,7 +1339,8 @@ setup_one_parameter (copy_body_data *id, tree p, tree value, tree fn,
represent multiple variables for purposes of debugging. */ represent multiple variables for purposes of debugging. */
if (gimple_in_ssa_p (cfun) && rhs && def && is_gimple_reg (p) if (gimple_in_ssa_p (cfun) && rhs && def && is_gimple_reg (p)
&& (TREE_CODE (rhs) == SSA_NAME && (TREE_CODE (rhs) == SSA_NAME
|| is_gimple_min_invariant (rhs))) || is_gimple_min_invariant (rhs))
&& !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (def))
{ {
insert_decl_map (id, def, rhs); insert_decl_map (id, def, rhs);
return; 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