projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12564b
)
(find_reloads_address): Properly check for constant address.
author
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 23 Sep 1992 23:26:34 +0000
(19:26 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Wed, 23 Sep 1992 23:26:34 +0000
(19:26 -0400)
From-SVN: r2220
gcc/reload.c
patch
|
blob
|
history
diff --git
a/gcc/reload.c
b/gcc/reload.c
index 955af5fb0fd6b7469c5ea49d8ec780be964e65ad..b5f844ba3fa48fb104c6bca769df67e2bf698da7 100644
(file)
--- a/
gcc/reload.c
+++ b/
gcc/reload.c
@@
-3775,7
+3775,7
@@
find_reloads_address (mode, memrefloc, ad, loc, operand, ind_levels)
/* If constants aren't valid addresses, reload the constant address
into a register. */
- if (CONSTANT_
ADDRESS_
P (ad) && ! strict_memory_address_p (mode, ad))
+ if (CONSTANT_P (ad) && ! strict_memory_address_p (mode, ad))
{
/* If AD is in address in the constant pool, the MEM rtx may be shared.
Unshare it so we can safely alter it. */