http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40975
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-02 22:00:13 UTC --- Author: jason Date: Mon May 2 22:00:07 2011 New Revision: 173274 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173274 Log: Revert: PR c++/40975 * cp-tree.def (VEC_INIT_EXPR): Add third operand. * cp-tree.h (VEC_INIT_EXPR_NELTS): New. * cp-gimplify.c (cp_gimplify_expr) [VEC_INIT_EXPR]: Handle it. * tree.c (build_vec_init_expr): Handle getting pointer/nelts. (build_vec_init_elt): Don't expect an array type. (build_array_copy): Adjust. * init.c (perform_member_init): Adjust. (build_new_1): Use build_vec_init_expr. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-gimplify.c trunk/gcc/cp/cp-tree.def trunk/gcc/cp/cp-tree.h trunk/gcc/cp/init.c trunk/gcc/cp/method.c trunk/gcc/cp/tree.c