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 instantiation at line 9, leading
to no error message there.

This is the bug. decay_conversion on an array should take the address, not return the initializer.

Jason

Reply via email to