This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: about inline
- From: Chung-Ju Wu <jasonwucj at gmail dot com>
- To: ishare <june dot tune dot sea at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 24 Mar 2013 15:03:35 +0800
- Subject: Re: about inline
- References: <20130324034422 dot GC23928 at debian dot localdomain>
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