Re: [PATCH] PR c++/55311 - Cannot specialize alias template with arg of type array of char

2012-12-26 Thread Jason Merrill
On 12/24/2012 09:23 AM, Dodji Seketeli wrote: + /* For and array decl decay_conversion should not try to return its "an array..." OK with that change. Jason

Re: [PATCH] PR c++/55311 - Cannot specialize alias template with arg of type array of char

2012-12-24 Thread Dodji Seketeli
Jason Merrill writes: > On 12/22/2012 11:03 AM, Dodji Seketeli wrote: >> [1]: The relacement of the VAR_DECL by its initializer is done by >> decay_conversion by callig decl_constant_value_safe. That replacement >> doesn't happen if processing_template_decl is not set. That's why it >> doesn't

Re: [PATCH] PR c++/55311 - Cannot specialize alias template with arg of type array of char

2012-12-23 Thread Jason Merrill
On 12/22/2012 11:03 AM, Dodji Seketeli wrote: [1]: The relacement of the VAR_DECL by its initializer is done by decay_conversion by callig decl_constant_value_safe. That replacement doesn't happen if processing_template_decl is not set. That's why it doesn't happen for the class template instan