re PR libstdc++/62259 (atomic class doesn't enforce required alignment on powerpc64)
authorJonathan Wakely <jwakely@redhat.com>
Thu, 26 Mar 2015 19:27:02 +0000 (19:27 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 26 Mar 2015 19:27:02 +0000 (19:27 +0000)
commit4280698d09e99c6881773d0850f98e4d1662103e
tree0a4d02dfca4ad37d7803167584a05155c2092b28
parent552b2afefbbb827b6b077aa618304c82184605ed
re PR libstdc++/62259 (atomic class doesn't enforce required alignment on powerpc64)

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.

From-SVN: r221703
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/atomic
libstdc++-v3/testsuite/29_atomics/atomic/60695.cc
libstdc++-v3/testsuite/29_atomics/atomic/62259.cc [new file with mode: 0644]