re PR libstdc++/60940 (general operations on atomic types do not work with atomic...
authorJonathan Wakely <jwakely@redhat.com>
Sat, 17 Jan 2015 01:23:28 +0000 (01:23 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 17 Jan 2015 01:23:28 +0000 (01:23 +0000)
commitd31b87976f1722476ae6bfa8e6bcbf78f5350867
treec642bf970c37532ec353e2a74b686069564d3d9f
parent340c79045e35c6bceeb60afb30b1001c238c93b6
re PR libstdc++/60940 (general operations on atomic types do not work with atomic integral typedefs)

PR libstdc++/60940
* include/bits/atomic_base.h: Remove atomic integral typedefs as
synonyms for __atomic_base<int> etc.
* include/std/atomic: Make atomic_int a synonym for atomic<int> and
likewise for all atomic integral types.
* testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
* testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.

From-SVN: r219790
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h
libstdc++-v3/include/std/atomic
libstdc++-v3/testsuite/29_atomics/atomic/60695.cc
libstdc++-v3/testsuite/29_atomics/atomic_integral/60940.cc [new file with mode: 0644]