On Thu, 27 Nov 2014, Chen Gang wrote:

> The original length 18 is not enough for HOST_WIDE_INT printing, need
> use 20 instead of.
> 
> Also need additional bytes for printing related prefix and suffix, and
> give a related check.
> 
> It passes testsuite under fedora 20 x86_64-unknown-linux-gnu.
> 
> 2014-11-27  Chen Gang <gang.chen.5...@gmail.com>
> 
>         * c-family/c-cppbuiltin.c (builtin_define_with_int_value): Let
>         buffer enough to print host wide integer value.

OK.  Properly implementing the (-9223372036854775807LL-1) and similar 
cases (when the value is the least int, long or long long on the target) 
can be a followup fix.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to