On 9 June 2011 21:06, Jason Merrill wrote:
> On 06/09/2011 03:48 PM, Jonathan Wakely wrote:
>>
>> Someone else asked for this the other day on gcc-help
>> (http://gcc.gnu.org/ml/gcc-help/2011-06/msg00193.html) so I thought
>> I'd take a look at implementing it. It turns out that or class
>> templates all that's needed is something like:
>>  verbatim ("instantiating class template %qT", type)
>> in instantiate_class_template_1 in gcc/cp/pt.c
>> Presumably it wouldn't be much harder to do the same for function
>> templates.
>
> How about patterning this on announce_function, so calling the compiler
> without -quiet would print class template instantiations as well?  Then you
> wouldn't need to handle function templates, since announce_function already
> does.

That sounds helpful, I'll look into it, thanks.

Reply via email to