Experimenting with tree inliner parameter settings

Michael Matz matz@suse.de
Sun May 4 22:05:00 GMT 2003


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.



More information about the Gcc mailing list