This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: -Os in conjunction with -fno-inline


>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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]