This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inlining fails on very simple code
- From: Andreas Schwab <schwab at suse dot de>
- To: degger at fhm dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: 10 Dec 2001 12:56:47 +0100
- Subject: Re: Inlining fails on very simple code
- References: <20011209192050.970528A65@Nicole.fhm.edu>
degger@fhm.edu writes:
|> Hija,
|>
|> I've just discovered a strange phenomenon on ppc-gnu-linux
|> and a trunk gcc from 3 days ago: The attached preprocessed
|> code contains an idct code with 3 functions:
|> One to calculate an IDCT row, one for a column and one
|> to put them together.
|>
|> Although the row and column code is specified to be static inline
|> and called exactly in one place there's no option on earth
|> I can convince gcc to inline it
Please try --param max-inline-insns=xxx, default is 600.
Andreas.
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5