https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63986
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Btw, x86 code generation is the same: test_0: .LFB0: .cfi_startproc xorl %eax, %eax testl %edi, %edi setne %al movl %eax, 8(%rcx) movl %edx, %eax cmove %esi, %eax ret so somehow it manages to fix things up again (maybe through ifcvt).