7 Aug
2018
7 Aug
'18
2 p.m.
On 08/07/2018 06:48 AM, John Rose wrote:
On Aug 6, 2018, at 9:54 PM, Martin Buchholz <martinrb@google.com> wrote:
I don't know what is actually being copied here, but can't the underlying type be atomic<address*> ?
Yes, if we are allowed to cast some random sequence of metadata words to atomic<address*>[].
We're not. Well, we sort-of are because we use -fno-strict-aliasing, but that's not standard C++11. Do we care? :-) GCC builtins do what we need when we're using GCC, but then we don't need C++11. -- Andrew Haley Java Platform Lead Engineer Red Hat UK Ltd. <https://www.redhat.com> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671