[LLVMbugs] [Bug 11763] memcpy call with overlapping (same) regions is created by LLVM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 13 17:47:28 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11763

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|                            |WONTFIX

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2012-01-13 19:47:28 CST ---
This was done intentionally in r65699; in practice, memcpy implementations
handle exact overlap correctly, and other implementations of struct assignment
cause issues.  (We're allowed to generate "illegal" calls to memcpy because
LLVM is generating platform-specific assembly, not C code.)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list