danielcdh added a comment. It gives a warning: a.cc:2:34: warning: GCC does not allow 'always_inline' attribute in this position on a function definition [-Wgcc-compat] http://reviews.llvm.org/D14511