This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35728] Inlined function via function pointer emitted unnecessarily
- 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: 6 Sep 2008 12:09:36 -0000
- Subject: [Bug c/35728] Inlined function via function pointer emitted unnecessarily
- References: <bug-35728-4536@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hubicka at gcc dot gnu dot org 2008-09-06 12:09 -------
We eliminate functions, but we never re-scan program to see if the function has
no longer address taken.
To implement this we will need to add to cgraph list of functions/variables
taking address of each function/variable and update the list as we optimize...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35728