Re: [PATCH] handle vector and aggregate stores in -Wstringop-overflow [PR 97027]

2021-07-15 Thread Richard Biener via Gcc-patches
On Wed, Jul 14, 2021 at 8:46 PM Martin Sebor wrote: > > On 7/14/21 1:01 AM, Richard Biener wrote: > > On Tue, Jul 13, 2021 at 9:27 PM Martin Sebor via Gcc-patches > > wrote: > >> > >> An existing, previously xfailed test that I recently removed > >> the xfail from made me realize that -Wstringop-

Re: [PATCH] handle vector and aggregate stores in -Wstringop-overflow [PR 97027]

2021-07-14 Thread Martin Sebor via Gcc-patches
On 7/14/21 1:01 AM, Richard Biener wrote: On Tue, Jul 13, 2021 at 9:27 PM Martin Sebor via Gcc-patches wrote: An existing, previously xfailed test that I recently removed the xfail from made me realize that -Wstringop-overflow doesn't properly detect buffer overflow resulting from vectorized s

Re: [PATCH] handle vector and aggregate stores in -Wstringop-overflow [PR 97027]

2021-07-14 Thread Richard Biener via Gcc-patches
On Tue, Jul 13, 2021 at 9:27 PM Martin Sebor via Gcc-patches wrote: > > An existing, previously xfailed test that I recently removed > the xfail from made me realize that -Wstringop-overflow doesn't > properly detect buffer overflow resulting from vectorized stores. > Because of a difference in th

[PATCH] handle vector and aggregate stores in -Wstringop-overflow [PR 97027]

2021-07-13 Thread Martin Sebor via Gcc-patches
An existing, previously xfailed test that I recently removed the xfail from made me realize that -Wstringop-overflow doesn't properly detect buffer overflow resulting from vectorized stores. Because of a difference in the IL the test passes on x86_64 but fails on targets like aarch64. Other examp