https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120982
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot
gnu.org
Keywords| |wrong-code
Last reconfirmed| |2025-07-07
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed also on x86_64. We have
vect__1.10_24 = __MEM <long int [[gnu::vector_size(16)]]> ((long int
*)vectp_a.8_22);
# PT = anything
# ALIGN = 32, MISALIGN = 0
vectp_a.8_25 = vectp_a.8_22 + 16ul;
vect__1.11_26 = __MEM <long int [[gnu::vector_size(16)]]> ((long int
*)vectp_a.8_25);
so it seems we set wrong alignment info on the SSA name after the increment.
It's possibly harmless since we are going to propagate those stmts out
and the information will get lost.