This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26850] unused function not eliminated with -fwhole-program --combine
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2010 11:09:41 -0000
- Subject: [Bug tree-optimization/26850] unused function not eliminated with -fwhole-program --combine
- References: <bug-26850-1008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from hubicka at gcc dot gnu dot org 2010-09-17 11:09 -------
Well, this is still something we should solve at LTO. Indirect inlining should
take away references that are fully resolved so function becomes unreachable.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26850