This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/51811] [C++0x] Incorrect incrementation/decrementation of atomic pointers


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51811

--- Comment #2 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-02-03 19:49:17 UTC ---
Author: bkoz
Date: Fri Feb  3 19:49:11 2012
New Revision: 183875

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183875
Log:
2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>

    PR libstdc++/51811
    * include/bits/atomic_base.h (atomic<_Tp*>): Fix offsets.
    * testsuite/29_atomics/atomic/operators/51811.cc: New.
    * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/29_atomics/atomic/operators/51811.cc
   
trunk/libstdc++-v3/testsuite/29_atomics/atomic/operators/pointer_partial_void.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/atomic_base.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]