projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaef1c1
)
* expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
author
Janis Johnson
<janis187@us.ibm.com>
Fri, 11 Jan 2002 23:48:06 +0000
(23:48 +0000)
committer
Janis Johnson
<janis@gcc.gnu.org>
Fri, 11 Jan 2002 23:48:06 +0000
(23:48 +0000)
From-SVN: r48785
gcc/ChangeLog
patch
|
blob
|
history
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 933184673fe5892309c08329e9628f1816d3c254..2af52c964e90ed61feb15dbcb1f6995690883a55 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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.
diff --git
a/gcc/expr.c
b/gcc/expr.c
index d11df993c51bdf8d3907476cbc60f880620ccf15..f15897f57a4efff626d84f3219e22f986bced0c9 100644
(file)
--- 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);