https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111821
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- So the issue is that we expand 'v' as a register despite of the large out-of-bound access. With -O0 we expand it to (stack) memory and use memcpy as fallback. I have a patch.