summaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-24 20:47:27 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-24 20:47:27 +0000
commit9078727551da0aedeb0c490854b52bf468aa7f2c (patch)
treef1ec7ee02cc9b9a3e8d365c91b428e6d1f39e1b0 /gcc/emit-rtl.c
parent7ada391733e0776333b42acafff836fa63f650b7 (diff)
downloadgcc-9078727551da0aedeb0c490854b52bf468aa7f2c.tar.gz
2011-01-24 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 169179 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@169181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 4ff5d4edc8a..08645716f4f 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -326,7 +326,7 @@ reg_attrs_htab_hash (const void *x)
{
const reg_attrs *const p = (const reg_attrs *) x;
- return ((p->offset * 1000) ^ (long) p->decl);
+ return ((p->offset * 1000) ^ (intptr_t) p->decl);
}
/* Returns nonzero if the value represented by X (which is really a