------- Comment #3 from steven at gcc dot gnu dot org 2006-01-10 20:36 ------- GCC 4.2 (trunk) produces this kind of redundant loads: ... movl -20(%ebp), %eax testl %eax, %eax je .L10 movl -20(%ebp), %eax movl %eax, (%esp) call strlen ...
And so does GCC 3.3-hammer_branch: ... movl -16(%ebp), %ecx xorl %ebx, %ebx testl %ecx, %ecx je .L8 movl -16(%ebp), %eax movl %eax, (%esp) call strlen ... -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-01-10 20:36:18 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23451 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]