projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b6d0e8
)
(print_operand_address): Pass rtx, not regno, to REG_OK_FOR_INDEX_P.
author
Richard Stallman
<rms@gnu.org>
Sat, 27 Jun 1992 05:21:14 +0000
(
05:21
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 27 Jun 1992 05:21:14 +0000
(
05:21
+0000)
From-SVN: r1303
gcc/config/ns32k/ns32k.c
patch
|
blob
|
history
diff --git
a/gcc/config/ns32k/ns32k.c
b/gcc/config/ns32k/ns32k.c
index 98a3a4b8bd36c541ed1feda508b58c3e66839f79..26051f916c097f69e37b810a45ef4cf09b899c47 100644
(file)
--- a/
gcc/config/ns32k/ns32k.c
+++ b/
gcc/config/ns32k/ns32k.c
@@
-526,7
+526,7
@@
print_operand_address (file, addr)
#ifdef INDEX_RATHER_THAN_BASE
/* This is a re-implementation of the SEQUENT_ADDRESS_BUG fix. */
if (base && !indexexp && GET_CODE (base) == REG
- && REG_OK_FOR_INDEX_P (
REGNO (base)
)
+ && REG_OK_FOR_INDEX_P (
base
)
{
indexexp = base;
base = 0;