Commit eab09a51 by Jan Hubicka Committed by Jan Hubicka

tree-ssa-dce.c (remove_dead_phis): Only look for abnormal PHIs when handling SSA name.

	* tree-ssa-dce.c (remove_dead_phis): Only look for abnormal PHIs
	when handling SSA name.

From-SVN: r149794
parent 20562de4
2009-07-20 Jan Hubicka <jh@suse.cz>
* tree-ssa-dce.c (remove_dead_phis): Only look for abnormal PHIs
when handling SSA name.
2009-07-19 Jan Hubicka <jh@suse.cz>
PR tree-optimization/40676
......
......@@ -873,7 +873,8 @@ remove_dead_phis (basic_block bb)
FOR_EACH_IMM_USE_STMT (use_stmt, iter, vdef)
FOR_EACH_IMM_USE_ON_STMT (use_p, iter)
SET_USE (use_p, vuse);
if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (vdef))
if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (vdef)
&& TREE_CODE (vuse) == SSA_NAME)
SSA_NAME_OCCURS_IN_ABNORMAL_PHI (vuse) = 1;
}
else
......
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