projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ab7c5
)
Install correct hunks
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 4 Jul 2001 02:32:25 +0000
(22:32 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 4 Jul 2001 02:32:25 +0000
(22:32 -0400)
From-SVN: r43746
gcc/explow.c
patch
|
blob
|
history
diff --git
a/gcc/explow.c
b/gcc/explow.c
index 778b9719bf68a8aa673e7f0fb2a053b6128a6e2e..1acb834709a82e6ec1aac5adb181d4ae244a57ae 100644
(file)
--- a/
gcc/explow.c
+++ b/
gcc/explow.c
@@
-610,12
+610,10
@@
validize_mem (ref)
{
if (GET_CODE (ref) != MEM)
return ref;
- if (! (flag_force_addr && CONSTANT_ADDRESS_P (XEXP (ref, 0)))
- || memory_address_p (GET_MODE (ref), XEXP (ref, 0)))
+ if (memory_address_p (GET_MODE (ref), XEXP (ref, 0)))
return ref;
-
/* Don't alter REF itself, since that is probably a stack slot. */
- return
replace_equiv_address (ref
, XEXP (ref, 0));
+ return
change_address (ref, GET_MODE (ref)
, XEXP (ref, 0));
}
\f
/* Given REF, either a MEM or a REG, and T, either the type of X or