This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40826] New: atomic_flag_{test_and_set,clear}_explicit() are apparently broken
- From: "jbeulich at novell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2009 14:12:05 -0000
- Subject: [Bug libstdc++/40826] New: atomic_flag_{test_and_set,clear}_explicit() are apparently broken
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
They act on local object 'd' only, rather than (as should be expected) *__a.
That is, __a->_M_i will never get set/cleared through these functions.
--
Summary: atomic_flag_{test_and_set,clear}_explicit() are
apparently broken
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbeulich at novell dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: *-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40826