diff options
author | Richard Biener <rguenther@suse.de> | 2025-07-07 09:56:50 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-07-07 15:22:39 +0200 |
commit | 439b14e222571da76da2bfec04b9035fb9f1862d (patch) | |
tree | 77f716e6c68145376a6ca1fee2bb83ba90176c7d /libgo/go/syscall/syscall_unix_test.go | |
parent | 65c40c0211f01579d1e7f259271cb79a8a19d533 (diff) | |
download | gcc-439b14e222571da76da2bfec04b9035fb9f1862d.zip gcc-439b14e222571da76da2bfec04b9035fb9f1862d.tar.gz gcc-439b14e222571da76da2bfec04b9035fb9f1862d.tar.bz2 |
tree-optimization/120817 - bogus DSE of .MASK_STORE
DSE used ao_ref_init_from_ptr_and_size for .MASK_STORE but
alias-analysis will use the specified size to disambiguate
against smaller objects. For .MASK_STORE we instead have to
make the access size unspecified but we can still constrain
the access extent based on the maximum size possible.
PR tree-optimization/120817
* tree-ssa-dse.cc (initialize_ao_ref_for_dse): Use
ao_ref_init_from_ptr_and_range with unknown size for
.MASK_STORE and .MASK_LEN_STORE.
* gcc.dg/vect/pr120817.c: New testcase.
Diffstat (limited to 'libgo/go/syscall/syscall_unix_test.go')
0 files changed, 0 insertions, 0 deletions