https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115402

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #10)
> Hmm, I think we'll need to use the non-futex path for atomic_ref<volatile
> T>, even when T is int.

Oh, but then atomic<volatile int> a1(i) won't synchronize with atomic_ref<T>
a2(i) on the same i.
  • [Bug libstdc++/115402] std::ato... redi at gcc dot gnu.org via Gcc-bugs

Reply via email to