]> gcc.gnu.org Git - gcc.git/commit
re PR libstdc++/65033 (C++11 atomics: is_lock_free result does not always match the...
authorRichard Henderson <rth@redhat.com>
Thu, 26 Mar 2015 18:31:11 +0000 (11:31 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 26 Mar 2015 18:31:11 +0000 (11:31 -0700)
commit8be568519bf08098e056567d57a75c3f38416ac2
treecfeb96ebc205c54e8e802c9284eb6658d380533e
parent41b38772ccd584a384945c7b1fdd61f4712d9792
re PR libstdc++/65033 (C++11 atomics: is_lock_free result does not always match the real lock-free property)

PR libstdc++/65033

 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
 a fake pointer indicating type alignment.
 (__atomic_base<T *>::is_lock_free): Likewise.
 * include/std/atomic (atomic<T>::is_lock_free): Likewise.

From-SVN: r221701
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h
libstdc++-v3/include/std/atomic
This page took 0.050095 seconds and 5 git commands to generate.