george.burgess.iv added a comment. > Although I think that users will expect atomic_add(unsigned int *, 5) to > work.without error
Totally agree; I was just making sure that I understood the problem. :) I think, with a small tweak in semantics, we can make everything work without needing to patch existing code. Let me play around a little. Repository: rL LLVM https://reviews.llvm.org/D24113 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits