Commit fa2981d8 by Jim Wilson

(expand_expr, case MIN_EXPR): If must emit multiple

instructions, then don't allow a MEM target.

From-SVN: r8822
parent 772c85b0
......@@ -5447,6 +5447,12 @@ expand_expr (exp, target, tmode, modifier)
if (temp != 0)
return temp;
/* At this point, a MEM target is no longer useful; we will get better
code without it. */
if (GET_CODE (target) == MEM)
target = gen_reg_rtx (mode);
if (target != op0)
emit_move_insn (target, op0);
......
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