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
This commit is contained in:
Jan Hubicka 2007-01-10 10:21:09 +01:00 committed by Jan Hubicka
parent 3775c3dc9a
commit 9b718f81fd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
Ben Elliston <bje@au.ibm.com>

View File

@ -1339,7 +1339,8 @@ setup_one_parameter (copy_body_data *id, tree p, tree value, tree fn,
represent multiple variables for purposes of debugging. */
if (gimple_in_ssa_p (cfun) && rhs && def && is_gimple_reg (p)
&& (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);
return;