https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111211

--- Comment #3 from Lehua Ding <lehua.ding at rivai dot ai> ---
(In reply to Richard Biener from comment #2)
> We diagnose this after unrolling, so the difference is whether we unroll or
> not.

But based on the assembly code it looks like both are unrolled.

foo:
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        xor     eax, eax
        ret
foo2:
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        nop
        xor     eax, eax
        ret

Reply via email to