On 08/21/14 15:44, Chen Gang wrote:
int_size_in_bytes() returns HOST_WIDE_INT (64-bit), theoretically, the maximized size is 23 -- it is sizeof("[-9223372036854775808]") for 0x8000000000000000LL.It may not cause real world issue, but if another issues occur, it may lead things worse. It passes normal testsuite: "../gcc/configure && make && make check" is OK. And 'contrib/compare_tests' is OK, too, the related output is: # Comparing directories ## Dir1=/upstream/build-gcc: 11 sum files ## Dir2=/upstream/build-gcc-new: 11 sum files # Comparing 11 common sum files ## /bin/sh ./compare_tests /tmp/gxx-sum1.7678 /tmp/gxx-sum2.7678 # No differences found in 11 common sum files 2014-08-17 Chen Gang <[email protected]> * c/c-aux-info.c (gen_type): Resize 'buff' from 10 to 23 bytes, with using HOST_WIDE_INT without truncation to 'int'
Thanks. Installed. jeff
