This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/3995] i386 optimisation: joining tests
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2003 15:36:32 -0000
- Subject: [Bug optimization/3995] i386 optimisation: joining tests
- References: <20010811004600.3995.105309-quiet@bugs.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3995
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-10 15:36 -------
This is already fixed on the mainline GCC produce this:
foo:
pushl %ebp
movl %esp, %ebp
subl $8, %esp
cmpb $0, 8(%ebp)
jle .L2
call a
leave
ret
.p2align 2,,3
.L2:
call b
leave
ret