[Bug libstdc++/33892] [libstdc++ v3 parallel mode] Parallel mode algorithms use critical sections with global scope
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Fri Nov 2 15:42:00 GMT 2007
------- Comment #4 from pcarlini at suse dot de 2007-11-02 15:42 -------
(In reply to comment #2)
> BTW, compatibility.h is horribly i?86/x86_64 centric, there are many other
> arches
> which support 64-bit __sync_fetch_and_add and __sync_bool_compare_and_swap
> (e.g. ia64, ppc64, sparc64, sparcv9, s390x, I believe also s390, etc.).
About that, wanted to remind Johannes that we also have the various
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_* which may be useful in such cases...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33892
More information about the Gcc-bugs
mailing list