https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84811
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Can you attach -fdump-tree-optimized and -fdump-rtl-cse2 -fdump-rtl-pro_and_epilogue -fdump-rtl-dse ? I really wonder what is different in our vs. your compiler.