http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47410
Summary: Linker plugin specification makes it difficult to
handle mixed IR/non-IR objects
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Depends on: 47247
Blocks: 45375
+++ This bug was initially created as a clone of Bug #47247 +++
Current linker plugin specification has problem with mixed
IR/non-IR inputs. When a function, foo, in IR input is only
called from non-IR input, LTO thinks foo is never called and
optimizes it out. See:
http://sourceware.org/bugzilla/show_bug.cgi?id=12430
LTO API should have a way for linker to inform LTO that
a symbol is referenced from non-IR input.