https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- As I said earlier, the patch is IMHO wrong and instead ARM/AArch64 should implement efficient mempcpy in the library. If not, we should have a target hook whether the target has sane mempcpy or not and use it at least for cases like this, where using it will allow tail-calling it, while using memcpy precludes that. And then XFAIL the test on targets with bad mempcpy implementation.