Noticed that the config for the new atomic builtins was not correct for
targets that did not do link tests. (ie x86-x-cris-elf). Fixed as
follows.
tested x86/linux
tested x86/linux x cris-elf
-benjamin2012-02-17 Benjamin Kosnik b...@redhat.com
PR libstdc++/51798 continued.
*
The patch uses the weak version of compare_exchange universally, which
is incorrect in a number of cases. You wouldn't see this on x86_64;
you'd have to use a ll/sc target such as powerpc.
In addition to changing several uses to strong compare_exchange, I
also optimize the idiom
On 11 February 2012 00:56, Richard Henderson wrote:
Ok?
OK, thanks.
On 02/09/2012 03:24 PM, Benjamin Kosnik wrote:
This is the rest of 51798, completing the conversion to C++11 atomics
in libstdc++. This is now a complete transition, modulo documentation
which I plan to finish as a separate patch once I am back from the ISO
C++ meeting.
tested x86_64/linux