This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO merge][4/15][RFA] C++ front end
Jason Merrill wrote:
> On 09/29/2009 05:58 PM, Mark Mitchell wrote:
>> There should be
>> some semantic way to explain what class of entities you're trying to
>> exclude.
>
> He wants to exclude uninstantiated templates, since only full
> instantiations get mangled names. Do you have a better idea for how to
> do that?
Why are we running into VAR_DECLs and FUNCTION_DECLs instead of
TEMPLATE_DECLs, then? It sounds like Diego is seeing the "exemplar" we
create, instead of the template. Are we putting the exemplars, instead
of the templates, onto scope lists and such?
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713