Commit dd2cc343 by Richard Kenner

(jump_optimize): Only use a REG as a target.

From-SVN: r2379
parent b67b4e47
......@@ -1123,7 +1123,9 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
{
tem2 = expand_unop (GET_MODE (var), one_cmpl_optab,
target, NULL_RTX, 0);
tem2 = expand_and (cval, tem2, tem2);
tem2 = expand_and (cval, tem2,
(GET_CODE (tem2) == REG
? tem2 : 0));
}
/* If we usually make new pseudos, do so here. This
......
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