[vlc-devel] [Patch] Enable -finline-functions when using speed mode

Hugo Beauzee-Luyssen beauze.h at gmail.com
Thu Apr 14 15:21:37 CEST 2011


2011/4/14 Rémi Denis-Courmont <remi at remlab.net>:
> On Thu, 14 Apr 2011 14:59:53 +0200, Hugo Beauzee-Luyssen
> <beauze.h at gmail.com> wrote:
>> This patch "directs GCC to try to integrate all “simple enough”
>> functions into their callers"
>> http://gcc.gnu.org/onlinedocs/gcc/Inline.html
>
> We already have -finline-small-functions at the default -O2, which puts
> functions in line if it saves space.
> What's the rationale for overriding that?
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>

I'd say inlining in order to improve performances, not space.

-- 
Hugo Beauzée-Luyssen



More information about the vlc-devel mailing list