https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118504
Bug ID: 118504 Summary: Bogus -Wstringop-overflow warning on simple memcpy type loop Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: aoliva at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Target: arm-non-eabi This is bug 113026, but for arm-none-eabi. Same symptom, same underlying cause (epilogue for specific iterations writing past the end of the known array size), just different vectorizing details, and it all fits the hints at remaining issues in comments over there. Oh, and on arm-none-eabi, it only hits at torture options "-O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions" for pr113026-1.c. No -ftracer, no warning.