This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch tree-dump.c]: 7 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 2 Dec 2012 10:11:44 +0100
- Subject: Re: [patch tree-dump.c]: 7 of 7 Fix of PR target/53912 bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32
- References: <CAEwic4a_EiCirOh_JB7QO-XBPoaJibWof8uP7QCAvsr62Tw1KQ@mail.gmail.com> <CAEwic4boW==_znCQEPk42JKLgTqJCiRRQY+Z=wAMRgdD=2p4TA@mail.gmail.com>
Ping
2012/11/29 Kai Tietz <ktietz70@googlemail.com>:
> Updated variant using HOST_WIDE_INT_PRINT.
>
> Tested for i686-w64-mingw32 and x86_64-w64-mingw32. Ok for apply?
>
> Kai
>
> Index: tree-dump.c
> ===================================================================
> --- tree-dump.c (Revision 193925)
> +++ tree-dump.c (Arbeitskopie)
> @@ -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,
> + (HOST_WIDE_INT) (uintptr_t) ptr);
> di->column += 15;
> }
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination