------- Comment #1 from vda dot linux at googlemail dot com 2007-07-21 23:36 ------- With 4.2.1 gcc regressed a bit:
gcc -Os -fomit-frame-pointer -S u.c .file "u.c" .text .globl f .type f, @function f: subl $12, %esp cmpl $15, 20(%esp) jl .L2 jle .L2 call g .L2: addl $12, %esp jmp g .size f, .-f .ident "GCC: (GNU) 4.2.1" .section .note.GNU-stack,"",@progbits In addition to unnecessary jl, we have unnecessary stack manipulations. (I created separate bug 32849 for this stack problem) -- vda dot linux at googlemail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|4.1.1 |4.2.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29978