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: Wed, 14 Dec 2011 10:36:15 +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
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-14 10:36:15 UTC ---
This looks more like a linker bug which doesn't seem to account for the
contents of the .exp file. It works properly on linux targets with providing a
version script, -Wl,--version-script=t.map with t.map containing
FOO_1.0 {
global:
foo;
bar;
local:
*;
};