This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41589] lto does not eliminate unused variables
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2009 17:07:13 -0000
- Subject: [Bug tree-optimization/41589] lto does not eliminate unused variables
- References: <bug-41589-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2009-10-05 17:07 -------
(In reply to comment #6)
> I use binutils 2.19 (from opensuse 11.1).
What I meant was that -ffunction-sections -fdata-sections and then
-Wl,--gc-sections to remove the unused variables/functions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41589