This is the mail archive of the gcc@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]

Re: -Os & inlining functions used only once


Alexandre Duret-Lutz wrote:-
> 
> > Ah, that makes sense.  So I'll pre-scan the file myself and mark
> > those functions 'inline' :)

Neil writes:
> That might be easy to implement as a quick hack, but to do it so you
> get it right all the time sounds extremely hard.

But he doesn't have to "get it right all the time".  The penalty for
getting it wrong is just a very slightly larger executable.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]