aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-errors.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-07-07 09:56:50 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-07-07 15:22:39 +0200
commit439b14e222571da76da2bfec04b9035fb9f1862d (patch)
tree77f716e6c68145376a6ca1fee2bb83ba90176c7d /gcc/c/c-errors.cc
parent65c40c0211f01579d1e7f259271cb79a8a19d533 (diff)
downloadgcc-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 'gcc/c/c-errors.cc')
0 files changed, 0 insertions, 0 deletions