(store_expr): Don't return TEMP if it's a MEM.
From-SVN: r5139
This commit is contained in:
parent
0450bf1214
commit
7d26fec6ad
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user