http://sourceware.org/bugzilla/show_bug.cgi?id=12496

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-24 21:12:43 
UTC ---
(In reply to comment #12)
> > I think it is the correct behavior since the LTO version of
> > the function isn't used anyway.
> 
> Do you mean it's a linker "feature" rather then a bug? That is, if GCC
> generates a call to some function on the LTO stage, and this function is in an
> object file which is in a static library, then care should be taken to *not*
> create that object with -flto.

If a file with IR isn't used during LTO stage, it shouldn't be used
at all.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to