This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Experimenting with tree inliner parameter settings
- From: Michael Matz <matz at suse dot de>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: Jakub Jelinek <jakub at redhat dot com>,Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>,<gcc at gcc dot gnu dot org>
- Date: Mon, 5 May 2003 00:05:29 +0200 (CEST)
- Subject: 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.