http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54005
Bug #: 54005 Summary: Use __atomic_always_lock_free in libstdc++ is_lock_free instead of __atomic_is_lock_free Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: h...@gcc.gnu.org CC: amacl...@redhat.com Depends on: 54004 According to http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2992.htm, the is_lock_free property goes for all instances of a given type. So, libstdc++ should use __atomic_always_lock_free instead of __atomic_is_lock_free as it does now, at r189499, libstdc++-v3/include/bits/atomic_base.h. But first, better fix the depended bugs.