[Bug libstdc++/65147] alignment of std::atomic object is not correct

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 23 18:36:00 GMT 2015


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think std::atomic<T> should increase the alignment of its T member. That will
have the advantage of being layout-compatible with _Atomic T.



More information about the Gcc-bugs mailing list