This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: abysmal code generated by gcc 3.2
- From: Michael Matz <matz at suse dot de>
- To: Dale Johannesen <dalej at apple dot com>, Kurt Garloff <garloff at suse dot de>
- Cc: Mike Stump <mrs at apple dot com>,Denys Duchier <Denys dot Duchier at ps dot uni-sb dot de>, <gcc at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2002 10:51:47 +0200 (CEST)
- Subject: Re: abysmal code generated by gcc 3.2
Hi,
On Mon, 21 Oct 2002, Dale Johannesen wrote:
> >> uh? except for max-inline-insns, I never heard of the others. Are
> >> these new (and what do they mean? - is that maybe documented in CVS).
> >
> > I'll assume all of these are documented in the manual,
>
> No, they are not. Perhaps the patch that added them
>
> 2002-04-27 Kurt Garloff <garloff@suse.de>
>
> * tree-inline.c (inlinable_function_p): Improve heuristics
> by using a smoother function to cut down allowable inlinable
> size.
> * param.def: Add parameters max-inline-insns-single,
> max-inline-slope, min-inline-insns that determine the exact
> shape of the above function.
> * param.h: Likewise.
>
> should be reverted until this is fixed.
A little bit too harsh I would say. The documentation (which Kurt wrote)
just wasn't committed for some reason (I believe another person than Kurt
actually committed the patch on Kurt's behalf).
> (-fmax-inline-insns was broken at the same time so that it no longer
> works to increase the size limit.)
Ciao,
Michael.