------- Comment #1 from socketpair at gmail dot com 2010-08-19 14:17 ------- Created an attachment (id=21519) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21519&action=view) C souce file
1. gcc -Os --save-temps -fomit-frame-pointer -fno-stack-protector main.c 2. gcc -DCOOL -Os --save-temps -fomit-frame-pointer -fno-stack-protector main.c compare .s files You will see this: ----------------------------------------- testl %eax, %eax je .L2 jmp .L7 .L4: .L7: cmpl $0, 12(%esp) ----------------------------------------- I think, that "jmp .L7" is stupid -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45340