Re: [patch lto-plugin]: Fix pr 50616

2012-02-22 Thread Joseph S. Myers
On Wed, 22 Feb 2012, Kai Tietz wrote: > 2012-02-22 Kai Tietz > > PR lto/50616 > * lto-plugin.c (PRI_LL): New macro. Doesn't HOST_LONG_LONG_FORMAT already exist for this, so you don't need a local definition in this file? -- Joseph S. Myers jos...@codesourcery.com

Re: [patch lto-plugin]: Fix pr 50616

2012-02-22 Thread Richard Guenther
On Wed, Feb 22, 2012 at 11:05 AM, Kai Tietz wrote: > Here is revised patch.  Sadly inttypes.h can't be used here.  So we > need local check for this. > > ChangeLog > > 2012-02-22  Kai Tietz   > >        PR lto/50616 >        * lto-plugin.c (PRI_LL): New macro. >        (dump_symtab): Use PRI_LL in

Re: [patch lto-plugin]: Fix pr 50616

2012-02-22 Thread Kai Tietz
Here is revised patch. Sadly inttypes.h can't be used here. So we need local check for this. ChangeLog 2012-02-22 Kai Tietz PR lto/50616 * lto-plugin.c (PRI_LL): New macro. (dump_symtab): Use PRI_LL instead of ll in print. (process_symtab): Use PRI_LL instead

Re: [patch lto-plugin]: Fix pr 50616

2012-02-21 Thread Kai Tietz
2012/2/21 Richard Guenther : > On Mon, Feb 20, 2012 at 11:59 PM, Kai Tietz wrote: >> Hi, >> >> this patch replaces use of "llx" for printf/scanf by inttypes.h >> PRIxMAX/SCNxMAX macros.  If those macros aren't present it defines >> them as default to "llx". > > Bootstrapped and tested on ... ? > >

Re: [patch lto-plugin]: Fix pr 50616

2012-02-21 Thread Richard Guenther
On Mon, Feb 20, 2012 at 11:59 PM, Kai Tietz wrote: > Hi, > > this patch replaces use of "llx" for printf/scanf by inttypes.h > PRIxMAX/SCNxMAX macros.  If those macros aren't present it defines > them as default to "llx". Bootstrapped and tested on ... ? Ok. Thanks, Richard. > ChangeLog > > 20

[patch lto-plugin]: Fix pr 50616

2012-02-20 Thread Kai Tietz
Hi, this patch replaces use of "llx" for printf/scanf by inttypes.h PRIxMAX/SCNxMAX macros. If those macros aren't present it defines them as default to "llx". ChangeLog 2012-02-20 Kai Tietz PR lto/50616 * lto-plugin.c (PRIxMAX,SCNxMAX): Use inttypes.h header if present, oth