emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
authorKai Tietz <ktietz@gcc.gnu.org>
Mon, 24 Jan 2011 18:49:20 +0000 (19:49 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Mon, 24 Jan 2011 18:49:20 +0000 (19:49 +0100)
2011-01-24  Kai Tietz  <kai.tietz@onevision.com>

        * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.

Additionally correct ChangeLog date entry for Koenig.

From-SVN: r169176

gcc/ChangeLog
gcc/emit-rtl.c

index f2df6f65525015a75020c0683a67976a0b539ebc..65d7693fe2d9c7d00e64424cb40b5c9e81b51cb9 100644 (file)
@@ -1,4 +1,8 @@
-2011-101-24  Paul Koning  <ni1d@arrl.net>
+2011-01-24  Kai Tietz  <kai.tietz@onevision.com>
+
+       * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
+
+2011-01-24  Paul Koning  <ni1d@arrl.net>
 
        * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
        WORDS_BIG_ENDIAN. 
index 4ff5d4edc8a12d3032471c642567b335b995af23..08645716f4f4620cae1229165071121785e38edc 100644 (file)
@@ -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