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]
Other format: [Raw text]

Re: -fobey-inline (was Re: gcc and inlining)


> Paraphrased, this is equivalent to "I really don't know what's going on here,
> please make a decision for me".  We have support for this, it's called
> "-finline-functions".  For trivial situations like the one you describe, the
> compiler can usually make a good guess.

No, not at all, the decision to inline is almost always additionally 
informed by the knowledge that the function is called frequently, so
that inlining is worth while.


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