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
Diego Novillo wrote:
>> I'd suggest not walking into function templates or class templates
>> during this process. That should avoid seeing anything that's not a
>> fully specialized template. Jason, does that make sense?
>
> We need to remove language information from things hanging off of
> TEMPLATE_DECLs as well. Or should those be tossed out entirely in
> free_lang_data?
You shouldn't ever need a TEMPLATE_DECL past this point. Think of
templates like super-macros; you care about the expansions of them, but
not the original templates themselves.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713