http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58387
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Not even with r202421. Content of main with that revision for x86_64 -Os is: .cfi_startproc pushq %rcx .cfi_def_cfa_offset 16 movl a(%rip), %esi testl %esi, %esi je .L4 negl %esi testl %esi, %esi jg .L3 jmp .L2 .L4: xorl %esi, %esi .L2: movl $.LC0, %edi xorl %eax, %eax call printf .L3: xorl %eax, %eax popq %rdx .cfi_def_cfa_offset 8 ret