https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116683
--- Comment #3 from Alex Coplan <acoplan at gcc dot gnu.org> --- Sorry for the delay in looking into this. So it looks like the unrolling works as expected without LTO, at least I see: ;; Unrolled loop 3 times, constant # of iterations 26 insns in the dump with a powerpc cc1. So unfortunately the problem seems to be both powerpc- and LTO-specific, meaning I'll need to build a full native powerpc toolchain on a cfarm machine to reproduce. In general, it would help if IBM folks could provide more triage with such issues. I can try to look into it but it will take me much longer as I'm not familiar with powerpc and don't have a suitable environment set up.