On 06/17/2013 04:08 PM, Paolo Carlini wrote:
+ if (TREE_CODE (TREE_TYPE (*tp)) == ARRAY_TYPE + && !TYPE_DOMAIN (TREE_TYPE (*tp)) + && DECL_INITIAL (*tp) + && type_dependent_expression_p (DECL_INITIAL (*tp))) + return *tp;
I think this approach makes sense, but it should go in type_dependent_expression_p rather than instantiation_dependent_r.
And please revert my fix for 56794, since this should fix one as well. Jason