Commit 9204da15 by Kai Tietz Committed by Kai Tietz

re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3…

re PR bootstrap/53912 (bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32)

	PR target/53912
	* ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t.

From-SVN: r194072
parent c63d51cc
2012-12-03 Kai Tietz <ktietz@redhat.com>
PR target/53912
* ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t.
PR target/53912
* tree-dump.c (dump_pointer): Print pointer via HOST_WIDE_INT_PRINT.
PR target/53912
......@@ -304,7 +304,7 @@ struct ptr_data
enum gt_types_enum type;
};
#define POINTER_HASH(x) (hashval_t)((long)x >> 3)
#define POINTER_HASH(x) (hashval_t)((intptr_t)x >> 3)
/* Register an object in the hash table. */
......
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