diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2df6f65525..65d7693fe2d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,8 @@ -2011-101-24 Paul Koning +2011-01-24 Kai Tietz + + * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. + +2011-01-24 Paul Koning * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != WORDS_BIG_ENDIAN. 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