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: Experimenting with tree inliner parameter settings


Hi,

On 4 May 2003, Steven Bosscher wrote:

> > Giving more weight to nested inline functions seems like a good idea,
> > and it's probably not very hard to do.  Just see if TREE_CONTEXT != NULL
> > in tree-inline.  That would probably also give more weight to inline
> > functions inside class declaration in C++.  Certainly something we
> > should try.
>
> Hmm the C++ part if this is of course not true.  Are functions declared
> in a class declaration automatically "inline"?

functions _defined_ in-class are totally equivalent to those declared
inline, yes.


Ciao,
Michael.


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