Hints implementation (Using the GNU Compiler Collection (GCC)) (original) (raw)

The extent to which suggestions made by using the inline function specifier are effective (C99 and C11 6.7.4).

GCC will not inline any functions if the -fno-inline option is used or if -O0 is used. Otherwise, GCC may still be unable to inline a function for many reasons; the -Winline option may be used to determine if a function has not been inlined and why not.