tree.c (build_vec_init_expr): Take complain parm.
authorJason Merrill <jason@redhat.com>
Mon, 2 May 2011 22:00:16 +0000 (18:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 2 May 2011 22:00:16 +0000 (18:00 -0400)
commit9c69dcea0d67714ca0ce52317725ccf1644ce93e
treef338955c0b3529289670686e025251dc71b8089e
parentb73a47045560ac7b2b808736383e8b5f8a97f55a
tree.c (build_vec_init_expr): Take complain parm.

* tree.c (build_vec_init_expr): Take complain parm.
(build_vec_init_elt): Likewise.  Free arg vector.
(diagnose_non_constexpr_vec_init, build_array_copy): Adjust.
* cp-tree.h (VEC_INIT_EXPR_SLOT): Use VEC_INIT_EXPR_CHECK.
(VEC_INIT_EXPR_INIT): Likewise.
Adjust build_vec_init_expr declaration.
* init.c (perform_member_init): Adjust.

From-SVN: r173275
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/tree.c