http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54224
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-09-15 17:47:37 UTC --- (In reply to comment #7) > Here is a patch which should set TREE_USED for all procedure calls: Does it still allow to optimize unused PRIVATE module procedures away?