http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912
--- Comment #13 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-20 15:44:27 UTC --- (In reply to comment #12) > Created attachment 27846 [details] > proposed patch > > This fixes the C and C++ part. -#define POINTER_HASH(x) (hashval_t)((long)x >> 3) +#define POINTER_HASH(x) (hashval_t)((uintptr_t)x >> 3) Probably intptr_t here.