aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2021-03-03 16:56:45 -0700
committerMartin Sebor <msebor@redhat.com>2021-03-03 17:04:48 -0700
commit8d57bdadd2d9c2e5c95515ca7a583d7b407b55c4 (patch)
treec7dbd3442b2ad0a283689ae61e707540dd8bc34b /gcc/tree-pretty-print.c
parent9a5a1e278f91fd7e67fdfbdb8d2f2f72dd566c99 (diff)
downloadgcc-8d57bdadd2d9c2e5c95515ca7a583d7b407b55c4.zip
gcc-8d57bdadd2d9c2e5c95515ca7a583d7b407b55c4.tar.gz
gcc-8d57bdadd2d9c2e5c95515ca7a583d7b407b55c4.tar.bz2
Correct a workaround for vectorized stores.
Resolves: PR middle-end/96963 - -Wstringop-overflow false positive with -ftree-vectorize when assigning consecutive char struct members PR middle-end/94655 - -Wstringop-overflow on implicit string assignment with vectorized char store gcc/ChangeLog: PR middle-end/96963 PR middle-end/94655 * builtins.c (handle_array_ref): New helper. (handle_mem_ref): New helper. (compute_objsize_r): Factor out ARRAY_REF and MEM_REF handling into new helper functions. Correct a workaround for vectorized assignments. gcc/testsuite/ChangeLog: PR middle-end/96963 PR middle-end/94655 * gcc.dg/Wstringop-overflow-47.c: Xfail tests. * gcc.dg/Wstringop-overflow-65.c: New test. * gcc.dg/Warray-bounds-69.c: Same.
Diffstat (limited to 'gcc/tree-pretty-print.c')
0 files changed, 0 insertions, 0 deletions