LTO and the inlining of functions only called once.
Daniel Jacobowitz
drow@false.org
Sat Oct 10 15:27:00 GMT 2009
On Sat, Oct 10, 2009 at 02:31:25PM +0200, Jan Hubicka wrote:
> My solution would be probably to pass -fdump-ipa-inline parameter to lto
> compilation and read the log. It lists the inlining decisions and if
> something is not inlined, you get dump of reason why.
GCC's dumps are really aimed at compiler developers. I think we would
benefit from more "what is the compiler doing to my code" options
(producing "note:"); things like which functions were inlined, which
loops unrolled. We do already have this for vectorization.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gcc
mailing list