* expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.

From-SVN: r48785
This commit is contained in:
Janis Johnson 2002-01-11 23:48:06 +00:00 committed by Janis Johnson
parent aaef1c1262
commit a84b4898c1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-01-11 Janis Johnson <janis187@us.ibm.com>
* expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
2002-01-11 Janis Johnson <janis187@us.ibm.com>
* doc/rtl.texi (Insns): Fix 2 typos.

View File

@ -3730,7 +3730,7 @@ expand_assignment (to, from, want_value, suggest_reg)
RTX_UNCHANGING_P (to_rtx) = 1;
}
if (! can_address_p (to))
if (GET_CODE (to_rtx) == MEM && ! can_address_p (to))
{
if (to_rtx == orig_to_rtx)
to_rtx = copy_rtx (to_rtx);