https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110237
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=110309 Ever confirmed|0 |1 Last reconfirmed| |2023-06-20 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- This looks like the same issue as PR110309. We have (insn 38 35 39 3 (set (mem:V16SI (plus:DI (reg:DI 40 r12 [orig:90 _22 ] [90]) (const:DI (plus:DI (symbol_ref:DI ("b") [flags 0x2] <var_decl 0x7ffff6e28d80 b>) (const_int -4 [0xfffffffffffffffc])))) [1 MEM <vector(16) int> [(int *)vectp_b.12_28]+0 S64 A32]) (vec_merge:V16SI (reg:V16SI 20 xmm0 [118]) (mem:V16SI (plus:DI (reg:DI 40 r12 [orig:90 _22 ] [90]) (const:DI (plus:DI (symbol_ref:DI ("b") [flags 0x2] <var_decl 0x7ffff6e28d80 b>) (const_int -4 [0xfffffffffffffffc])))) [1 MEM <vector(16) int> [(int *)vectp_b.12_28]+0 S64 A32]) so instead of a masked load we see a vec_merge with a (mem:V16SI ...) based on the vectp_b.12_28 pointer that has full size but the load of b[1] we try disambiguate against refers to int b[10] which is too small for a load of 64 bytes so we disambiguate based on that. So quite likely a duplicate.