[Bug lto/54790] [4.8 Regression] Missing optimization with LTO
d.g.gorbachev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Oct 6 08:02:00 GMT 2012
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)
More information about the Gcc-bugs
mailing list