RE: -Os in conjunction with -fno-inline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>The idea of inlining is to remove function prologues and epilogues. When you
>set -fno-inline, the functions do not get inlined and the prologues and
>epilogues account for the slight increase in size.

In other words -Os use good threshold size (better then  just 0) to make decision if function should be inlined. 

My mistake I was (don't know why) convinced -Os implies -fno-inline.

Thanks.

-- 
Best regards
Ilja Golshtein

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux