+2013-05-14 Jason Merrill <jason@redhat.com>
+
+ PR c++/57041
+ * pt.c (tsubst_copy_and_build): Don't recur into a designator.
+
2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53903
newlen = vec_safe_length (n);
FOR_EACH_VEC_SAFE_ELT (n, idx, ce)
{
- if (ce->index && process_index_p)
+ if (ce->index && process_index_p
+ /* An identifier index is looked up in the type
+ being initialized, not the current scope. */
+ && TREE_CODE (ce->index) != IDENTIFIER_NODE)
ce->index = RECUR (ce->index);
if (PACK_EXPANSION_P (ce->value))