https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88011
--- Comment #7 from Ian Lance Taylor <ian at airs dot com> --- Created attachment 45018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45018&action=edit Standalone test case Here is somewhat smaller standalone test case. Looking at assembly differences, it looks like the miscompilation is in lehmerGCD.