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.

Reply via email to