[Bug c++/53164] Undefined reference to template function instantiation

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 5 14:25:30 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53164

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> Looks as though we need to call mark_used for function templates used as
> non-type template parameters

Yep :)


More information about the Gcc-bugs mailing list