[Bug libstdc++/71660] [6/7/8/9 regression] alignment of std::atomic<8 byte primitive type> (long long, double) is wrong on x86
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 2 10:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71660
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
Summary|[6/7/8/9 regression] |[6/7/8/9 regression]
|alignment of |alignment of std::atomic<8
|std::atomic<8/9 byte |byte primitive type> (long
|primitive type> (long long, |long, double) is wrong on
|double) is wrong on x86 |x86
--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> ---
As discussed above, I'm closing this as not-a-bug. The change to std::atomic
alignment was intentional and is necessary. It would be nice to be consistent
with _Atomic but we seem to be in agreement that the C front end should change,
not std::atomic.
More information about the Gcc-bugs
mailing list