https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- No luck reproducing this using a cross. So, could you please attach -fdump-tree-optimized -da dumps from both runs? Also, check if you are using the same d21 binary, another possibility might be miscompiled d21.