[Bug optimization/3995] i386 optimisation: joining tests

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Aug 10 15:36:00 GMT 2003


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



More information about the Gcc-bugs mailing list