https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90947
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Nov 8 18:56:42 2019 New Revision: 277985 URL: https://gcc.gnu.org/viewcvs?rev=277985&root=gcc&view=rev Log: Backported from mainline 2019-10-31 Jakub Jelinek <ja...@redhat.com> PR c++/90947 * tree.h (type_initializer_zero_p): Remove. * tree.c (type_initializer_zero_p): Remove. * cp-tree.h (type_initializer_zero_p): Declare. * decl.c (reshape_init_array_1): Formatting fix. * tree.c (type_initializer_zero_p): New function. Moved from ../tree.c, use next_initializable_field, formatting fix. Return false for TYPE_NON_AGGREGATE_CLASS types. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/init/array54.C Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/cp-tree.h branches/gcc-9-branch/gcc/cp/decl.c branches/gcc-9-branch/gcc/cp/tree.c branches/gcc-9-branch/gcc/tree.c branches/gcc-9-branch/gcc/tree.h