Inlining fails on very simple code
Andreas Schwab
schwab@suse.de
Mon Dec 10 03:56:00 GMT 2001
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
More information about the Gcc
mailing list