https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107762
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Indeed this pessimizes on s390 because it has insv instructions. It's too late to properly sort this out so I'm going to revert the change.