On Wed, 13 Nov 2013, Basile Starynkevitch wrote: > I have no idea, but does anyone knows if other free compilers (notably > Clang/LLVM) are adding a similar feature?
I looked at the list of Clang language extensions before adding this one and didn't see mention of anything similar as a C language extension. (Clang uses a different set of built-in functions for C11 atomics, so it's possible the motivation from <stdatomic.h> doesn't apply there.) > And I also like that feature, but it should be documented outside of the > support of <stdatomic.h> since it is genuinely useful by itself (e.g. as > an alternative to typeof). The patch includes documentation in extend.texi. -- Joseph S. Myers jos...@codesourcery.com