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

From-SVN: r5139
This commit is contained in:
Richard Stallman 1993-08-12 08:06:01 +00:00
parent 0450bf1214
commit 7d26fec6ad

View File

@ -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);