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: degger at fhm dot edu
- To: schwab at suse dot de
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 10 Dec 2001 19:25:40 +0100 (CET)
- Subject: Re: Inlining fails on very simple code
- Reply-to: degger at fhm dot edu
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