[v3] atomic macro guard cleanup

Benjamin Kosnik bkoz@redhat.com
Thu Apr 24 16:16:00 GMT 2008


Changes _GLIBCXX_ATOMIC_BUILTINS to _GLIBCXX_ATOMIC_BUILTINS_1 and
_GLIBCXX_ATOMIC_BUILTINS_4, tests more of the __sync builtins.

This should fix up the config error with mips and others, although the
current fallbacks w/o atomics are incorrect stub functions, instead of
mutex-locked functions a la the exchange_and_add variants that
ext/atomicity.h uses. That is a later patch...

tested x86_64/linux
tested x86/linux

-benjamin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.20080424-2
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080424/0bb7788e/attachment.ksh>


More information about the Gcc-patches mailing list