http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37448
--- Comment #48 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-10-26 16:48:08 UTC --- The problem here is walking of callgraph edges to sum the code size of the caller function in both early inliner and late inliner. I am still not very keen on making the cost calucuations incremental, but I will see if keeping the sum of all edges makes sense here... Honza