Inlining fails on very simple code
degger@fhm.edu
degger@fhm.edu
Mon Dec 10 10:30:00 GMT 2001
On 10 Dec, Andreas Schwab wrote:
> |> 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.
>From my understanding gcc should inline whenever it seems benefitial.
To tell gcc where the programmer sees the border the above mentioned
option was introduced however with the knowledge that a static inline
function is used exactly once there should be no doubt about what might
be benefitial or not.
--
Servus,
Daniel
More information about the Gcc
mailing list