Question about building hash values from pointers

Kai Tietz Kai.Tietz@onevision.com
Fri May 30 08:57:00 GMT 2008


Hi,

as I noticed, most hash value calculations are trying to use pointer 
values for building the value and assume that a long/unsigned long scalar 
is wide enough for a pointer. This is at least for w64 target not true. So 
I want to know, if it would be good to introduce an gcc specific type for 
those kind of casts, or to use ssize_t/size_t.?

Regards,
  Kai

Btw: I noticed that while trying to debug the native w64 compiler, which 
always crashes in c-common.c:6748 in field_decl_cmp (a cross-compiler 
version does not crash?!).

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.



More information about the Gcc mailing list