https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119299
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to AK from comment #0) ... > https://godbolt.org/z/3xh6Mxq4j FYI, https://gitlab.com/x86-gcc/gcc/-/tree/users/hjl/condjmp/gcc-16?ref_type=heads generates: .globl g1 .type g1, @function g1: .LFB0: .cfi_startproc movl %edi, %eax orl $1, %eax cmpl $5, %eax je f cmpl $1, %edi jbe f ret .cfi_endproc .LFE0: .size g1, .-g1 .p2align 4 .globl g2 .type g2, @function g2: .LFB1: .cfi_startproc testl $-6, %edi je f ret .cfi_endproc