https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117199
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 59379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59379&action=edit Reduced testcase `-O3 -flto -shared -fPIC -march=znver2` reproduces it with this testcase.