https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67778
--- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> --- Yes, I'm cross-compiling. The only differences I see are: * -fdwarf2-cfi-asm; this seemed promising but makes no difference. * -mtune=generic -march=x86-64; but no dice. * Very different ggc settings. * Different GMP etc. versions. The code coming in to shrink-wrap is different already. Anyway, I have reproduced the problem (on gcc20), and I know what the problem is. Will have to think a bit on how to properly solve it. And it seems I didn't read your #c5 very carefully, ugh. Sorry.