This is the mail archive of the gcc-help@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]

How to diagnose inlining failure?


Hello,

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?

Thanks!
BR,
Henrik


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