Commit d4538829 by Zdenek Dvorak Committed by Zdenek Dvorak

re PR rtl-optimization/30113 (ICE in trunc_int_for_mode)

	PR rtl-optimization/30113
	* loop-iv.c (implies_p): Require the mode of the operands to be
	scalar.

From-SVN: r119748
parent cfaab3a9
2006-12-11 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/30113
* loop-iv.c (implies_p): Require the mode of the operands to be
scalar.
2006-12-11 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-operands.h (create_ssa_artificial_load_stmt):
......
......@@ -1490,7 +1490,7 @@ implies_p (rtx a, rtx b)
mode = VOIDmode;
}
if (mode != VOIDmode
if (SCALAR_INT_MODE_P (mode)
&& rtx_equal_p (op1, opb1)
&& simplify_gen_binary (MINUS, mode, opb0, op0) == const1_rtx)
return true;
......
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