about inline

Chung-Ju Wu jasonwucj@gmail.com
Sun Mar 24 07:03:00 GMT 2013


2013/3/24, ishare <june.tune.sea@gmail.com>:
>
>  If I not use optimization   in compilation , will those inline functions be
> actually inlined by gcc ?
>
>  thanks!
>

Not unless you use 'always_inline' attribute.

http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#Function-Attributes


Best regards,
jasonwucj



More information about the Gcc-help mailing list