Bug#94701: acknowledged by developer (Bug#94701: fixed in gcc-3.3 1:3.3ds9-1)
reopen 94701
quit
On Sat, May 17, 2003 at 04:51:55PM -0500, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> #94701: [PR optimization/2960] Duplicate loop conditions even with -Os,
> which was filed against the gcc-3.2 package.
>
> It has been closed by one of the developers, namely
> Matthias Klose <doko@debian.org>.
Although the upstream fix certainly seems to have corrected the
problem, gcc-3.3 -Os from unstable still generates basically the same
code with the dupliate test of %ebx against k:
a:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
cmpl %ebx, k
jge .L7
.L5:
call b
cmpl %ebx, k
jl .L5
.L7:
popl %ebx
leave
ret
.size a, .-a
.comm k,4,4
.ident "GCC: (GNU) 3.3 (Debian)"
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Reply to: