[Bug libstdc++/65147] alignment of std::atomic object is not correct
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 26 19:59:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Mar 26 19:27:02 2015
New Revision: 221703
URL: https://gcc.gnu.org/viewcvs?rev=221703&root=gcc&view=rev
Log:
PR libstdc++/62259
PR libstdc++/65147
* include/std/atomic (atomic<T>): Increase alignment for types with
the same size as one of the integral types.
* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
* testsuite/29_atomics/atomic/62259.cc: New.
Added:
trunk/libstdc++-v3/testsuite/29_atomics/atomic/62259.cc
- copied, changed from r221701,
trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/atomic
trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc
More information about the Gcc-bugs
mailing list