jfb added a comment.

I wrote a quick test, and I think this is technically OK for x86 because 
alignment "Just Works", but I think it's borked on GCC+ARM (I don't have a 
system to test that here): 
https://github.com/jfbastien/atomic_nullptr/blob/master/atomic_nullptr.cc


https://reviews.llvm.org/D23041



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to