OSDN Git Service

PR libstdc++/56012
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2013 00:57:36 +0000 (00:57 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2013 00:57:36 +0000 (00:57 +0000)
commit077f3a7f4e021927aa6aa74de772618f81c62982
treec3e0f6f7f91516fbf30bfce7edc33a4fb886e8fb
parenta4c14d168bd99a9d62a7afe0add5005260dfb2c0
PR libstdc++/56012
* include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
* testsuite/29_atomics/atomic/operators/56012.cc: New.

PR libstdc++/56011
* include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
missing overload.
* testsuite/29_atomics/atomic/operators/56011.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196301 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h
libstdc++-v3/include/std/atomic
libstdc++-v3/testsuite/29_atomics/atomic/operators/56011.cc [new file with mode: 0644]
libstdc++-v3/testsuite/29_atomics/atomic_flag/cons/56012.cc [new file with mode: 0644]