[Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 20 15:44:00 GMT 2012


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.



More information about the Gcc-bugs mailing list