[Bug string/19776] New: Unreachable code in sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Sun Mar 6 22:00:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=19776

            Bug ID: 19776
           Summary: Unreachable code in
                    sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: neleai at seznam dot cz
  Target Milestone: ---

sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S has

L(overlapping):
   cmpq  %rsi, %rdi
   jae   .L3
...
L3:
   leaq  -1(%rdx), %rax
   .p2align 4,,10
   .p2align 4
.L11:
   movzbl   (%rsi,%rax), %edx
   movb  %dl, (%rdi,%rax)
   subq  $1, %rax
   jmp   .L11

I don't believe .L3 is reachable.  Can it be removed?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list