add __attribute__((always_inline)) when compiled with gcc.