This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]