I think a much safer change would be to use the `__atomic_foo` builtins. It 
means we wouldn't have to change the type stored in `__shared_count` and 
`__shared_weak_count` and we wouldn't  depend on the `<atomic>` header.

Is there a reason this approach was not taken?


http://reviews.llvm.org/D8147

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to