This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/46914] std::atomic<int*>::exchange(...) doesn't store correct value.
- From: "dnovillo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Feb 2011 18:33:04 +0000
- Subject: [Bug libstdc++/46914] std::atomic<int*>::exchange(...) doesn't store correct value.
- Auto-submitted: auto-generated
- References: <bug-46914-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46914
--- Comment #17 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-02-02 18:16:47 UTC ---
Author: dnovillo
Date: Wed Feb 2 18:16:41 2011
New Revision: 169753
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169753
Log:
2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/46914
* include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
_ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
avoid name conflicts.
Modified:
branches/google/integration/libstdc++-v3/ChangeLog
branches/google/integration/libstdc++-v3/include/bits/atomic_0.h