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

PR target/53912
	* tree-dump.c (dump_pointer): Print pointer via HOST_WIDE_INT_PRINT.

From-SVN: r194070
This commit is contained in:
Kai Tietz 2012-12-03 08:02:17 +01:00 committed by Kai Tietz
parent cfb84a52ec
commit c63d51cc18
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2012-12-03 Kai Tietz <ktietz@redhat.com>
PR target/53912
* tree-dump.c (dump_pointer): Print pointer via HOST_WIDE_INT_PRINT.
PR target/53912
* pointer-set.c (hash1): Cast from pointer via uintptr_t.

View file

@ -177,7 +177,8 @@ void
dump_pointer (dump_info_p di, const char *field, void *ptr)
{
dump_maybe_newline (di);
fprintf (di->stream, "%-4s: %-8lx ", field, (unsigned long) ptr);
fprintf (di->stream, "%-4s: %-8" HOST_WIDE_INT_PRINT "x ", field,
(unsigned HOST_WIDE_INT) (uintptr_t) ptr);
di->column += 15;
}