https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46925
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Known to work| |8.2.0 Resolution|--- |FIXED Target Milestone|--- |8.2 --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- GCC 8.2 generates: .file "x.c" .text .p2align 4,,15 .globl foo .type foo, @function foo: .LFB0: .cfi_startproc cmpl $4, %edi ja .L3 movq (%rsi), %rax ret .p2align 4,,10 .p2align 3 .L3: xorl %eax, %eax ret .cfi_endproc .LFE0: .size foo, .-foo .ident "GCC: (GNU) 8.2.1 20181105 (Red Hat 8.2.1-5)" .section .note.GNU-stack,"",@progbits