Count counterpart of TREE_USED?

degger@fhm.edu degger@fhm.edu
Mon Dec 10 15:43:00 GMT 2001


Hija,

TREE_USED can be used to determine whether a decl or stmt was used.
What I need is to figure out how often; I want to find out how rarely
a static function will be called within the same source to change the
inlining rules to not only take the size of the function but also pay
attention to the number of callers especially if there's only one
and there was no specific request to keep the static object around.

Any hints would be appreciated.

--
Servus,
       Daniel 



More information about the Gcc mailing list