diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-04-09 12:15:44 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-04-09 12:15:44 +0100 |
commit | 4cbaaa459e7f402911bb79fade9ffdac194eae75 (patch) | |
tree | 08378587f17bd9383cc0c800075734789ef3b5a0 /libcpp/files.c | |
parent | 3ba99d8a035e95aa93eb2fc56739f63c36582213 (diff) | |
download | gcc-4cbaaa459e7f402911bb79fade9ffdac194eae75.zip gcc-4cbaaa459e7f402911bb79fade9ffdac194eae75.tar.gz gcc-4cbaaa459e7f402911bb79fade9ffdac194eae75.tar.bz2 |
re PR libstdc++/65147 (alignment of std::atomic object is not correct)
2015-04-09 Jonathan Wakely <jwakely@redhat.com>
Richard Henderson <rth@redhat.com>
PR libstdc++/65147
* include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
alignment.
* include/std/atomic (atomic): For types with a power of two size set
alignment to at least the size.
* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
* testsuite/29_atomics/atomic/65147.cc: New.
* testsuite/29_atomics/atomic_integral/65147.cc: New.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r221945
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions