This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/32849] Unnecessary %esp inc/decrements in trivial code
- From: "vda dot linux at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2007 10:16:39 -0000
- Subject: [Bug rtl-optimization/32849] Unnecessary %esp inc/decrements in trivial code
- References: <bug-32849-12956@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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