This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-flto, remove unsued code from output
- From: "Klaus Rudolph" <lts-rudolph at gmx dot de>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 07 Dec 2010 16:02:51 +0100
- Subject: -flto, remove unsued code from output
Hi all,
I play a bit with lto optimisation. As I see, some functions will be inlined during link stage which is the expected result. But the function code which is always inlined is not removed from the output file which will result in larger output files.
Any additional option to use with gcc during compile or link?
I am using gcc-4.5.1 for avr target on linux-x86 host.
Regards
Klaus
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail