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: Inlining fails on very simple code


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


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