------- Comment #7 from steven at gcc dot gnu dot org 2006-01-07 18:41 ------- GCC 4.1-20060107 still produces the code reported in the original bug report:
0000000000000000 <foo>: 0: 48 89 f8 mov %rdi,%rax 3: 48 f7 d8 neg %rax 6: 48 21 c7 and %rax,%rdi 9: 48 89 f8 mov %rdi,%rax c: c3 retq What patch may have fixed this on the trunk? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715