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

--- Comment #7 from Tomasz KamiƄski <tkaminsk at gcc dot gnu.org> ---
> In the above case s.b has alignment of 4, but that is still not enough for 
> 64-bit
> atomics which require 8 byte alignment for atomicity.

With the fix from
https://gcc.gnu.org/pipermail/libstdc++/2025-October/063959.html, the binding
atomic_ref<double> to x, would again require that x is alignment is 8 bytes.

Reply via email to