From a84b4898c1c415bf66f7759eb385384a8676b8df Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Fri, 11 Jan 2002 23:48:06 +0000 Subject: * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET. From-SVN: r48785 --- gcc/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/expr.c') diff --git a/gcc/expr.c b/gcc/expr.c index d11df99..f15897f 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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); -- cgit v1.1