diff options
author | Horst von Brand <vonbrand@sleipnir.valparaiso.cl> | 2000-05-16 16:59:20 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-05-16 16:59:20 +0000 |
commit | 1d2da2e1ce88da471b4b0cfc2ddc3ed49eb0cc51 (patch) | |
tree | 1ee9fadb013b968d6dabc8bf4bbb38492f5703cb /libiberty/hashtab.c | |
parent | d651ee8177f13596ab73a00e3c93949049f5d199 (diff) | |
download | gcc-1d2da2e1ce88da471b4b0cfc2ddc3ed49eb0cc51.zip gcc-1d2da2e1ce88da471b4b0cfc2ddc3ed49eb0cc51.tar.gz gcc-1d2da2e1ce88da471b4b0cfc2ddc3ed49eb0cc51.tar.bz2 |
hashtab.c (hash_pointer): Delete low-order bits which are probably zero, also eliminate a warning on alpha.
* hashtab.c (hash_pointer): Delete low-order bits which are
probably zero, also eliminate a warning on alpha.
From-SVN: r33934
Diffstat (limited to 'libiberty/hashtab.c')
-rw-r--r-- | libiberty/hashtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c index 0c0b9a8..f3ee301 100644 --- a/libiberty/hashtab.c +++ b/libiberty/hashtab.c @@ -104,7 +104,7 @@ static hashval_t hash_pointer (p) const void *p; { - return (hashval_t) p; + return (hashval_t) ((long)p >> 3); } /* Returns non-zero if P1 and P2 are equal. */ |