Re: C++ PATCH to primary_template_instantiation_p

2017-11-28 Thread Jason Merrill
Fixed, thanks. On Tue, Nov 28, 2017 at 10:49 AM, Maxim Kuvyrkov wrote: > >> On Nov 28, 2017, at 12:29 AM, Jason Merrill wrote: >> >> All the uses of primary_template_instantiation_p actually want to >> query whether the entity in question is a specialization of the >> template, not whether it's

Re: C++ PATCH to primary_template_instantiation_p

2017-11-28 Thread Maxim Kuvyrkov
> On Nov 28, 2017, at 12:29 AM, Jason Merrill wrote: > > All the uses of primary_template_instantiation_p actually want to > query whether the entity in question is a specialization of the > template, not whether it's an instantiation or explicit > specialization. > > Tested x86_64-pc-linux-gnu

C++ PATCH to primary_template_instantiation_p

2017-11-27 Thread Jason Merrill
All the uses of primary_template_instantiation_p actually want to query whether the entity in question is a specialization of the template, not whether it's an instantiation or explicit specialization. Tested x86_64-pc-linux-gnu, applying to trunk. commit ca0a29985403027c3438e5c3c45af35ca1da6bb2 A