This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r191495 - in /branches/google/gcc-4_7/libstdc++...
- From: aaw at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 19 Sep 2012 20:04:37 -0000
- Subject: r191495 - in /branches/google/gcc-4_7/libstdc++...
Author: aaw
Date: Wed Sep 19 20:04:36 2012
New Revision: 191495
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191495
Log:
Merge r191125 and r191191 from gcc-4_7-branch.
Google ref b/7173106.
* libsupc++/guard.cc (__cxa_guard_acquire): Exit the loop earlier if
we detect that another thread has had success. Don't compare_exchange
from a finished state back to a waiting state. Fix up the last
argument of the first __atomic_compare_exchange_n. Comment.
Modified:
branches/google/gcc-4_7/libstdc++-v3/ChangeLog.google-4_7
branches/google/gcc-4_7/libstdc++-v3/libsupc++/guard.cc