Commit 7d26fec6 by Richard Stallman

(store_expr): Don't return TEMP if it's a MEM.

From-SVN: r5139
parent 0450bf12
......@@ -2547,7 +2547,7 @@ store_expr (exp, target, want_value)
emit_move_insn (target, temp);
}
if (dont_return_target)
if (dont_return_target && GET_CODE (temp) != MEM)
return temp;
if (want_value && GET_MODE (target) != BLKmode)
return copy_to_reg (target);
......
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