mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 05:20:24 +08:00
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
This commit is contained in:
parent
d651ee8177
commit
1d2da2e1ce
@ -1,3 +1,8 @@
|
||||
2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
|
||||
|
||||
* hashtab.c (hash_pointer): Delete low-order bits which are
|
||||
probably zero, also eliminate a warning on alpha.
|
||||
|
||||
2000-05-15 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
* Makefile.in: Change "pic" to depend on $(PICFLAG), not
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user