This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH 3/4] Avoid nonconst memmodels in libitm's local outdated copy of <atomic> too
- From: Richard Henderson <rth at redhat dot com>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Andi Kleen <ak at linux dot intel dot com>
- Date: Tue, 19 Mar 2013 13:46:52 -0700
- Subject: Re: [PATCH 3/4] Avoid nonconst memmodels in libitm's local outdated copy of <atomic> too
- References: <1363440569-17331-1-git-send-email-andi at firstfloor dot org> <1363440569-17331-3-git-send-email-andi at firstfloor dot org>
On 03/16/2013 06:29 AM, Andi Kleen wrote:
> 2013-03-15 Andi Kleen <andi@my.domain.org>
>
> * local_atomic (__always_inline): Add.
> (__calculate_memory_order, atomic_thread_fence,
> atomic_signal_fence, test_and_set, clear, store, load,
> exchange, compare_exchange_weak, compare_exchange_strong,
> fetch_add, fetch_sub, fetch_and, fetch_or, fetch_xor):
> Add __always_inline to force inlining.
Ok.
One day we'll get the build fixed so this copy isn't necessary...
r~