aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-unroll.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2019-03-19 17:45:34 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2019-03-19 11:45:34 -0600
commite3ba46bd52f9bd6db8788384dd186c9ba5963129 (patch)
tree5f4bc3c12380a6768864bf49672216e0763845a4 /gcc/loop-unroll.c
parent2214085affb80feb19e79882ee769e28c2a85a5a (diff)
downloadgcc-e3ba46bd52f9bd6db8788384dd186c9ba5963129.zip
gcc-e3ba46bd52f9bd6db8788384dd186c9ba5963129.tar.gz
gcc-e3ba46bd52f9bd6db8788384dd186c9ba5963129.tar.bz2
PR tree-optimization/89644 - False-positive -Warray-bounds diagnostic on strncpy
gcc/ChangeLog: PR tree-optimization/89644 * tree-ssa-strlen.c (handle_builtin_stxncpy): Consider unterminated arrays in determining sequence sizes in strncpy and stpncpy. gcc/testsuite/ChangeLog: PR tree-optimization/89644 * gcc.dg/Wstringop-truncation-8.c: New test. From-SVN: r269807
Diffstat (limited to 'gcc/loop-unroll.c')
0 files changed, 0 insertions, 0 deletions