This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51523] LTO keeps unneeded functions (mingw32 target)
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Dec 2011 11:05:31 +0000
- Subject: [Bug target/51523] LTO keeps unneeded functions (mingw32 target)
- Auto-submitted: auto-generated
- References: <bug-51523-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51523
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |mingw32
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011-12-13
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-13 11:05:31 UTC ---
I think you need -fwhole-program as mingw32 is not using a linker plugin(?)
If so, this works as intended and the bug is invalid.