init.c
93.6 KB
-
re PR c++/20142 (implicit assignment operator with multi-dimensional array is broken) · b5af3133
PR c++/20142 * cp-tree.h (target_type): Remove. * decl.c (layout_var_decl): Remove #if 0'd code. (cp_finish_decl): Remove dead code. * init.c (build_vec_init): When determining whether or not the element type has an asignment operator, look through all array dimensions. * typeck.c (target_type): Remove. PR c++/20142 * g++.dg/init/array18.C: New test. From-SVN: r96170
Mark Mitchell committed