[PATCH] Make HOST_WIDE_INT underlying type match int64_t, adjust printing macros again

2014-06-02 Thread Richard Biener
This computes the underlying type of int64_t in a configure check and uses that for HOST_WIDE_INT. This makes sure we can use the PRI?64 macros from inttypes.h for HOST_WIDE_INT_PRINT_*, which the following patch re-instantiates. The patch also makes sure inttypes.h defines PRId64 and if not,

Re: [PATCH] Make HOST_WIDE_INT underlying type match int64_t, adjust printing macros again

2014-06-02 Thread Jakub Jelinek
On Mon, Jun 02, 2014 at 11:24:23AM +0200, Richard Biener wrote: 2014-06-02 Richard Biener rguent...@suse.de * configure.ac: Check whether the underlying type of int64_t is long or long long. * configure: Regenerate. * config.in: Likewise. * hwint.h

Re: [PATCH] Make HOST_WIDE_INT underlying type match int64_t, adjust printing macros again

2014-06-02 Thread Richard Biener
On Mon, 2 Jun 2014, Jakub Jelinek wrote: On Mon, Jun 02, 2014 at 11:24:23AM +0200, Richard Biener wrote: 2014-06-02 Richard Biener rguent...@suse.de * configure.ac: Check whether the underlying type of int64_t is long or long long. * configure: Regenerate. *