aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2020-09-23 15:04:32 -0600
committerMartin Sebor <msebor@redhat.com>2020-09-23 15:10:20 -0600
commit6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d (patch)
treec64709a3a48fac8d149e61be1ff8144e8ff8025d /gcc/gimple-array-bounds.cc
parente977dd5edbcc3a3b88c3bd7efa1026c845af7487 (diff)
downloadgcc-6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d.zip
gcc-6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d.tar.gz
gcc-6edc8f5bfe7d9db8fb8bd37bb8086a69850c6c6d.tar.bz2
Handle DECLs and EXPRESSIONs consistently (PR middle-end/97175).
gcc/ChangeLog: PR middle-end/97175 * builtins.c (maybe_warn_for_bound): Handle both DECLs and EXPRESSIONs in pad->dst.ref, same is pad->src.ref. gcc/testsuite/ChangeLog: PR middle-end/97175 * gcc.dg/Wstringop-overflow-44.c: New test.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions