C++ PATCH for c++/88216, ICE with class type in non-type template parameter

Jason Merrill jason@redhat.com
Tue Dec 11 15:48:00 GMT 2018

On 12/10/18 2:52 PM, Marek Polacek wrote:
> +  if (processing_template_decl && value_dependent_expression_p (expr))

You don't need to check processing_template_decl before 

I would lean toward checking for value-dependence in 
convert_nontype_argument, which already does that a lot.  Enough, 
actually, that perhaps we should remember the result in a local variable.


More information about the Gcc-patches mailing list