Commit 69610617 by Segher Boessenkool Committed by Segher Boessenkool

ipa-prop.c (compute_complex_ancestor_jump_func): Bail out if !cond.

2010-05-20  Segher Boessenkool  <segher@kernel.crashing.org>

	* ipa-prop.c (compute_complex_ancestor_jump_func): Bail
	out if !cond.

From-SVN: r159639
parent 00b97acd
2010-05-20 Segher Boessenkool <segher@kernel.crashing.org>
* ipa-prop.c (compute_complex_ancestor_jump_func): Bail
out if !cond.
2010-05-20 Uros Bizjak <ubizjak@gmail.com> 2010-05-20 Uros Bizjak <ubizjak@gmail.com>
PR target/43733 PR target/43733
......
...@@ -576,7 +576,8 @@ compute_complex_ancestor_jump_func (struct ipa_node_params *info, ...@@ -576,7 +576,8 @@ compute_complex_ancestor_jump_func (struct ipa_node_params *info,
cond_bb = single_pred (assign_bb); cond_bb = single_pred (assign_bb);
cond = last_stmt (cond_bb); cond = last_stmt (cond_bb);
if (gimple_code (cond) != GIMPLE_COND if (!cond
|| gimple_code (cond) != GIMPLE_COND
|| gimple_cond_code (cond) != NE_EXPR || gimple_cond_code (cond) != NE_EXPR
|| gimple_cond_lhs (cond) != parm || gimple_cond_lhs (cond) != parm
|| !integer_zerop (gimple_cond_rhs (cond))) || !integer_zerop (gimple_cond_rhs (cond)))
......
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