------- Comment #27 from rguenth at gcc dot gnu dot org 2006-02-14 16:48 ------- The mainline has again returned to sane behavior for g() and -fgcse-sm does not make any difference for f(). And we now use lea on i686:
.L11: addl %edi, -16(%ebp) leal (%ebx,%edi), %edi leal (%ecx,%ebx), %ebx leal (%edx,%ecx), %ecx leal (%eax,%edx), %edx addl -16(%ebp), %eax subl $1, %esi jne .L11 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19580