Re: How to diagnose inlining failure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Henrik Mannerström <henrik.mannerstrom@xxxxxxxxx> writes:

> I get the following warning from the compiler:
>
> header.h:10: warning: inlining failed in call to ‘double hill(double,
> double, double)’: call is unlikely and code size would grow
>
> I know that the "--param" option has many variables controlling inlining
> but I don't know which ones to change. Can I get some kind of diagnostic
> of the specific decision the compiler makes when not inlining?

To my eyes, that is the diagnostic right there: "the call is unlikely
and code size would grow."  What kind of diagnostic are you looking for?

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux