[Bug libstdc++/46914] std::atomic<int*>::exchange(...) doesn't store correct value.

dnovillo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 2 18:33:00 GMT 2011


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



More information about the Gcc-bugs mailing list