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


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


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