I have found the following function definition :
static inline __attribute__((always_inline)) int fn(const char *s) { return (!s || (*s == \'\\0\')); }
It forces the compiler to inline the function even if optimizations are disabled. Check this documentation for more information.