https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883
--- Comment #22 from Jeffrey A. Law <law at redhat dot com> --- The test is somewhat sensitive to target bits that select between various strategies for implementing mem* routines. Can you try with -mtune=generic? If that works, I can adjust the testcase appropriately.