[Bug rtl-optimization/32849] Unnecessary %esp inc/decrements in trivial code

vda dot linux at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sun Jul 22 10:16:00 GMT 2007



------- Comment #2 from vda dot linux at googlemail dot com  2007-07-22 10:16 -------
Well, gcc 3.4.3 disagrees with you:

# gcc -Os -fomit-frame-pointer -S t.c
# cat t.s
        .file   "t.c"
        .text
.globl t
        .type   t, @function
t:
        call    f
        testl   %eax, %eax
        je      .L1
        jmp     g
.L1:
        ret
        .size   t, .-t
        .section        .note.GNU-stack,"",@progbits
        .ident  "GCC: (GNU) 3.4.3"


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32849



More information about the Gcc-bugs mailing list