https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78116
--- Comment #12 from Pat Haugen <pthaugen at gcc dot gnu.org> --- Now that pr77536 has been fixed can this issue be closed? The first testcase no longer has any loads from the stack in the loop, but does have 4 reg copies that seem like they could get cleaned up (RA/reload issue as Bin mentioned?). The second testcase is totally cleaned up.