This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] atomic macro guard cleanup


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

Attachment: p.20080424-2
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]