http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46228

--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-11-04 
04:44:30 UTC ---
"- we need to improve heuristics to figure out that inlining is smaller than
call sequence (if it really is)"

Well, we can't do that here.  What I missed is that the function in question is
a wrapper with one parameter calling function with two. 

Inlininig function realy increase code size assuming that the function is not
comdat just out of programmer's stupidity and is really shared across many
units.

All we can do is to introduce some parameter for COMDATs to reduce likelyness
of their sharing across units.  100% as we have now is overly optimistic.  I
will make patch for testing.

Reply via email to