[Bug c++/59469] [4.8/4.9 Regression] LLVM build failure with gcc LTO

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 24 17:44:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #34 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 31949
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31949&action=edit
mark_needed patch

I don't see the function being declared 'inline' anywhere, so there's no ODR
violation.

I tried adding a mark_needed call to mark_decl_instantiated, as in this patch. 
But setting forced_by_abi on the cgraph node for the instantiation doesn't seem
to help; the LTO output still has a private symbol.



More information about the Gcc-bugs mailing list