http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25957
--- Comment #11 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-10-08 23:27:02 UTC --- I just checked and the problem is still there with 4.7.0 20111002 xorq %fs:40, %rax jne .L4 addq $120, %rsp .cfi_remember_state .cfi_def_cfa_offset 8 ret .L4: .cfi_restore_state .p2align 4,,6 call __stack_chk_fail .cfi_endproc .LFE0: unnecessary wasteful alignment for the call to abort. The basic block should be marked cold.