This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/54790] [4.8 Regression] Missing optimization with LTO


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]