Commit 1d2da2e1 by Horst von Brand Committed by Mark Mitchell

hashtab.c (hash_pointer): Delete low-order bits which are probably zero, also…

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
parent d651ee81
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> 2000-05-15 David Edelsohn <edelsohn@gnu.org>
* Makefile.in: Change "pic" to depend on $(PICFLAG), not * Makefile.in: Change "pic" to depend on $(PICFLAG), not
......
...@@ -104,7 +104,7 @@ static hashval_t ...@@ -104,7 +104,7 @@ static hashval_t
hash_pointer (p) hash_pointer (p)
const void *p; const void *p;
{ {
return (hashval_t) p; return (hashval_t) ((long)p >> 3);
} }
/* Returns non-zero if P1 and P2 are equal. */ /* Returns non-zero if P1 and P2 are equal. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment