------- Comment #7 from mckelvey at maskull dot com  2008-02-19 00:58 -------
How can GCC conclude that a call is going to be infrequent? Doesn't that
amount to predicting the future? Also, if an object is constructed, then it
will
be destroyed. So there is almost a 100% chance of calling the destructor if the
class is used at all. Maybe I'm missing something.

It would be best for the message to say the REAL reason for not inlining,
whatever that may be.

If that is not feasible, I would be OK with just saying "inlining call
determined to be unprofitable". That is vague, but not confusing.


-- 


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

Reply via email to