projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de4ecb
)
rs6000.c (rs6000_hash_constant): Fix hash for LABEL_REF's.
author
Graham Stott
<grahams@gcc.gnu.org>
Wed, 31 Jul 2002 23:13:25 +0000
(23:13 +0000)
committer
Graham Stott
<grahams@gcc.gnu.org>
Wed, 31 Jul 2002 23:13:25 +0000
(23:13 +0000)
* config/rs6000/rs6000.c (rs6000_hash_constant): Fix
hash for LABEL_REF's.
From-SVN: r55915
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index deeaf12d6cef8fabebed9f22076e7653bf8df42b..e1b3d1e4e2b91d5874c23e201ed96ca04df9f987 100644
(file)
--- a/
gcc/config/rs6000/rs6000.c
+++ b/
gcc/config/rs6000/rs6000.c
@@
-11370,7
+11370,7
@@
rs6000_hash_constant (k)
int fidx;
if (GET_CODE (k) == LABEL_REF)
- return result * 1231 +
X0INT (XEXP (k, 0), 3
);
+ return result * 1231 +
(unsigned) INSN_UID (XEXP (k, 0)
);
if (GET_CODE (k) == CODE_LABEL)
fidx = 3;