This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to diagnose inlining failure?
- From: Henrik Mannerström <henrik dot mannerstrom at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 11:50:16 +0300
- Subject: 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