https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #3) > 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. Yes, I'm planning to come up with such target hook.