------- Comment #11 from hubicka at gcc dot gnu dot org 2006-08-21 12:44 ------- Just to note that for simple accestors (optimizing to single move), the compiler should be smart enough to figure out that inlining always reduce code size and inlining those will never hit any of the parameters mentioned. So increasing the parameters is just symptomatic fix and the metric computing profitability of inlining shall be tweaked instead. If max-inline-isnsn-single is hit, compiler really believe that the function body is rather large and inlining cause code growth. GCC at the moment is not terribly smart about discovering the simple wrappers and hopefully will somewhat improve with IPA branch. However if there are really simple testcases where compiler is mistaken, I would be interested to see them. (preferably as small self contained testcases ;)
Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24947