+2015-07-14 Jason Merrill <jason@redhat.com>
+
+ * call.c (build_new_method_call_1): Call reshape_init.
+
2015-07-14 Paolo Carlini <paolo.carlini@oracle.com>
* pt.c (check_template_shadow): Emit error + inform instead of
/* If BASETYPE is an aggregate, we need to do aggregate
initialization. */
else if (CP_AGGREGATE_TYPE_P (basetype))
- init = digest_init (basetype, init_list, complain);
+ {
+ init = reshape_init (basetype, init_list, complain);
+ init = digest_init (basetype, init, complain);
+ }
if (init)
{