diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-13 21:30:31 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-13 21:30:31 +0000 |
commit | 49ba6a35776ad54d2b9be833992b49454a09baac (patch) | |
tree | 840fce549883497ba5e22c723942237b1faa64ab /libstdc++-v3/ChangeLog | |
parent | 533ae4c77118bd0207bdfe2803dce26cc284b8ad (diff) | |
download | gcc-49ba6a35776ad54d2b9be833992b49454a09baac.tar.gz |
PR libstdc++/51798 continued
* include/bits/shared_ptr_base.h
(_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load
outside compare_exchange loop.
* include/tr1/shared_ptr.h: Same.
* include/parallel/compatibility.h (__compare_and_swap_32): Use strong
version of compare_exchange.
(__compare_and_swap_64): Same.
* include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same.
* libsupc++/guard.cc (__cxa_guard_acquire): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184171 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index af3f50af0eb..723007cdfe0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2012-02-13 Richard Henderson <rth@redhat.com> + + PR libstdc++/51798 continued. + * include/bits/shared_ptr_base.h + (_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load + outside compare_exchange loop. + * include/tr1/shared_ptr.h: Same. + * include/parallel/compatibility.h (__compare_and_swap_32): Use strong + version of compare_exchange. + (__compare_and_swap_64): Same. + * include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same. + * libsupc++/guard.cc (__cxa_guard_acquire): Same. + 2012-02-10 Benjamin Kosnik <bkoz@redhat.com> Jonathan Wakely <jwakely.gcc@gmail.com> |