Passing a null pointer to memcpy is undefined behavior. Cheers, Rafael -------------- next part -------------- A non-text attachment was scrubbed... Name: t.patch Type: text/x-patch Size: 502 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150707/dd712581/attachment.bin>