aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2023-05-24 16:35:22 +0200
committerJan-Benedict Glaw <jbglaw@lug-owl.de>2023-05-24 16:35:22 +0200
commitfc0553d61e110a293d52405672cfe9919d7ecc12 (patch)
tree660c0453534f600e40015aa9c3ccb372dc059926 /gcc/value-range.h
parentbd99d7b3ca442390074377a3c0caad59df560eb5 (diff)
downloadgcc-fc0553d61e110a293d52405672cfe9919d7ecc12.zip
gcc-fc0553d61e110a293d52405672cfe9919d7ecc12.tar.gz
gcc-fc0553d61e110a293d52405672cfe9919d7ecc12.tar.bz2
Fix sprintf length warning
One of the supplied argument strings is unneccesarily long (c-sky, using basically the same code, fixed it to a shorter length) and this fixes overflow warnings, as GCC fails to deduce that the full 256 bytes for load_op[] are not used at all. gcc/ChangeLog: * config/mcore/mcore.cc (output_inline_const) Make buffer smaller to silence overflow warnings later on.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions