Commit 7e48e275 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
	* print-tree.c (print_node): Cast from pointer via uintptr_t.

From-SVN: r194348
parent d392c399
2012-12-10 Kai Tietz <ktietz@redhat.com>
PR target/53912
* print-tree.c (print_node): Cast from pointer via uintptr_t.
2012-12-10 Jakub Jelinek <jakub@redhat.com> 2012-12-10 Jakub Jelinek <jakub@redhat.com>
* asan.c (instrument_derefs): Handle bitfield COMPONENT_REFs * asan.c (instrument_derefs): Handle bitfield COMPONENT_REFs
...@@ -255,7 +255,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent) ...@@ -255,7 +255,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
/* Allow this function to be called if the table is not there. */ /* Allow this function to be called if the table is not there. */
if (table) if (table)
{ {
hash = ((unsigned long) node) % HASH_SIZE; hash = ((uintptr_t) node) % HASH_SIZE;
/* If node is in the table, just mention its address. */ /* If node is in the table, just mention its address. */
for (b = table[hash]; b; b = b->next) for (b = table[hash]; b; b = b->next)
......
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