https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-08-21 Target|arm |arm, aarch64 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- On x86_64 for some reason it works in GCC 9+; tested with " -Os -mstringop-strategy=libcall" and adding noinline to doStuff just to force to make sure it does not inline. Anyways confirmed, worked in GCC 8.2.0 for both aarch64 and arm but does not work in GCC 9.