This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/54790] [4.8 Regression] Missing optimization with LTO
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Oct 2012 08:02:20 +0000
- Subject: [Bug lto/54790] [4.8 Regression] Missing optimization with LTO
- Auto-submitted: auto-generated
- References: <bug-54790-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54790
--- Comment #5 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-10-06 08:02:20 UTC ---
Created attachment 28370
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28370
Testcase #3
Undefined reference bug.
With gold:
main.o:main.c:function main: error: undefined reference to 'foo'
With bfd ld:
`foo' referenced in section `.text' of main.o: defined in discarded section
`.text' of /tmp/ccl6J4kW.o (symbol from plugin)