This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r187385 - in /branches/ibm/gcc-4_6-branch/libst...
- From: bergner at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 10 May 2012 22:18:32 -0000
- Subject: r187385 - in /branches/ibm/gcc-4_6-branch/libst...
Author: bergner
Date: Thu May 10 22:18:32 2012
New Revision: 187385
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187385
Log:
* include/ext/atomicity.h (__exchange_and_add_nb): New.
(__exchange_and_add_dispatch_nb): Likewise.
* include/bits/basic_string.h (_M_dispose): Declare inline.
Use __exchange_and_add_dispatch_nb and _GLIBCXX_WRITE_MEM_BARRIER;
(_M_refcopy): Declare inline.
Use __exchange_and_add_dispatch_nb and _GLIBCXX_READ_MEM_BARRIER;
* config/cpu/powerpc/cpu_defines.h
(__rs6000_atomic_fetch_and_add_32): New define.
Modified:
branches/ibm/gcc-4_6-branch/libstdc++-v3/ChangeLog.ibm
branches/ibm/gcc-4_6-branch/libstdc++-v3/config/cpu/powerpc/cpu_defines.h
branches/ibm/gcc-4_6-branch/libstdc++-v3/include/bits/basic_string.h
branches/ibm/gcc-4_6-branch/libstdc++-v3/include/ext/atomicity.h