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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
For the original testcase clang++ produces

        leaq    16(%rbp), %rdx
...
        movq    %rdx, -56(%rbp)         # 8-byte Spill
...
        movq    -56(%rbp), %rcx         # 8-byte Reload
        movl    (%rcx), %esi
        cmpl    s2227, %esi
        movq    %rax, -96(%rbp)         # 8-byte Spill
        je      .LBB0_2

so it agrees with what we have now.

Reply via email to