[cfe-commits] [PATCH] lib/CodeGen/CGCall.cpp: Don't invoke multiple Builder.CreateBitCast() on Builder.CreateMemCpy. Or we would see sideeffect incompatibility among gcc and clang.
NAKAMURA Takumi
geek4civic at gmail.com
Thu Mar 10 01:04:32 PST 2011
---
lib/CodeGen/CGCall.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
IIRC, gcc evaluates right to left, and clang does left to right.
...Takumi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-CodeGen-CGCall.cpp-Don-t-invoke-multiple-Bui.patch.txt
Type: text/x-patch
Size: 959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110310/8e0830d6/attachment.bin>
More information about the cfe-commits
mailing list