http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56727
--- Comment #3 from Jan Hubicka <hubicka at ucw dot cz> 2013-03-26 16:12:27 UTC --- > Confirmed. We don't optimize callgraph cycles with one externally visible > entry that way. And I believe we currently have no way of annotating a > single call to resolve locally. Honza? The canonical way to do it is to create a static alias and the redirect call to the alias. We do that in FE for some specific examples (like thunks) but not in general. Doing so would indeed make sense. Honza