[Bug optimization/2960] Duplicate loop conditions even with -Os
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 10 15:41: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=2960
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-10 15:41 -------
This is already fixed on the mainline:
a:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
.L7:
cmpl %ebx, k
jge .L6
call b
jmp .L7
.L6:
popl %ebx
leave
ret
More information about the Gcc-bugs
mailing list