aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
diff options
context:
space:
mode:
authorQian Jianhua <qianjh@cn.fujitsu.com>2022-03-22 08:44:51 +0800
committerQian Jianhua <qianjh@cn.fujitsu.com>2022-03-22 13:39:40 +0800
commitc6bc4835659d24edc2bf5de13bfe8f59ae409ff3 (patch)
tree2bb7217840d970c25a3389b27e580985c1b404c6 /gcc/fold-const.cc
parent7bce0be03b857eefe5990c3ef0af06ea8f8ae04e (diff)
downloadgcc-c6bc4835659d24edc2bf5de13bfe8f59ae409ff3.zip
gcc-c6bc4835659d24edc2bf5de13bfe8f59ae409ff3.tar.gz
gcc-c6bc4835659d24edc2bf5de13bfe8f59ae409ff3.tar.bz2
print-tree:Avoid warnings of overflow
This patch avoids two warnings of "'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]" when build GCC. Tested on x86_64, and committed as obvious. gcc/ChangeLog: * print-tree.cc: Change array length
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions