http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42734
--- Comment #37 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-16 13:31:33 UTC --- What I was thinking of is that bits/c++config.h defines the following based on what was supported at the time the library is configured and built, not what is supported later when users compile: /* Define if builtin atomic operations for bool are supported on this host. */ #define _GLIBCXX_ATOMIC_BUILTINS_1 1 But I don't think <thread> depends on that. <future> and <atomic> do.