------- Comment #5 from hubicka at ucw dot cz 2008-01-08 12:15 ------- Subject: Re: Inlining heuristics issue
> I think we want to account PHI nodes as real copies instead (d->count += > PHI_NUM_ARGS (...)) -- if they involve real operands (not VOPs). We ignore cost of MODIFY_EXPR in assumption that it will get quite likely optimized out (that is important for simple containers). So ignoring PHI nodes is consistent in this manner, but on the other hand PHIs are less often in containers and more likely to stay after inlining. I will add code for that. Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34708