------- Additional Comments From uros at gcc dot gnu dot org 2004-11-26 08:50 ------- (In reply to comment #6) > This is fully a IV-OPTS problem now. > With -fno-ivopts, I get
I can't get the same code as you. With mainline gcc (gcc version 4.0.0 20041126 (experimental)) and 'gcc -O2 -S -fno-ivopts LU.c' I got: xorl %edx, %edx .p2align 4,,15 .L5: leal 0(,%edx,8), %eax incl %edx fldl (%eax,%ecx) cmpl %edx, %edi fstpl (%ebx,%eax) jg .L5 leal is redundant in this case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17647