------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-23 01:17 ------- (In reply to comment #6) > (In reply to comment #4) > > This can be fixed at the tree level without any gcse or ra hacking: > > http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01462.html > > GCC generates poor code for this function even with that patch applied:
This looks like a different bug because with 3.3.3 we get the good code but not with 3.4.0. Good code meaning: .L5: addl %edi, %ebp addl %ebp, %esi addl %esi, %ecx addl %ecx, %edx addl %edx, %eax addl %eax, %edi decl %ebx jne .L5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19464