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: 3.3 compile time regression (22400%)


Hi Richard,

On Tue, 18 Mar 2003, Richard Guenther wrote:

> The picture does change if I specify -fno-default-inline,

This means, that probably all the in-class definitions of functions are
the culprit (which are equivalent to being declared inline).  You might
want to play with "--param bla=value", where "bla" is
max-inline-insns-single (300) and max-inline-insns-auto (300).  The
numbers are the default.  Try to make them smaller to limit the inlining.
The first parameter should apply to these functions, but I'm not
sure it does.

Also you might want to create a profilable gcc, and find the hotspot
functions.  expand really shouldn't take _that_ much more time than all
the other passes, even if inlining goes crazy (because normally also some
other passes should take much time then).


Ciao,
Michael.


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